Skip to content

Commit

Permalink
chore: move to go 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Sep 10, 2022
1 parent 8ab6f85 commit 20fbb8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile-dc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.14
FROM golang:1.19-alpine3.14

RUN addgroup -S ory; \
adduser -S ory -G ory -D -H -s /bin/nologin
Expand All @@ -8,8 +8,6 @@ RUN apk --no-cache --update-cache --upgrade --latest add ca-certificates
ADD . /app
WORKDIR /app
ENV GO111MODULE on
RUN go get -u github.com/gobuffalo/packr/v2/packr2
RUN packr2
RUN go mod download && go mod tidy
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build

Expand Down

0 comments on commit 20fbb8e

Please sign in to comment.