Skip to content

Commit

Permalink
updating docker file to allow reading timezone
Browse files Browse the repository at this point in the history
Signed-off-by: jenish-jain <jenishjain@rocketmail.com>
  • Loading branch information
jenish-jain committed Oct 8, 2023
1 parent a0d4ac4 commit bc4d8d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN go mod download
# Copy local code to the container image.
COPY . ./

RUN apk update && apk add bash && apk --no-cache add tzdata

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" cmd/bean_counter/main.go

FROM scratch
Expand Down

0 comments on commit bc4d8d2

Please sign in to comment.