Skip to content

Commit 682cc25

Browse files
authored
bump golang v. to 1.18
for fixing dependency issues
1 parent 4d1c00d commit 682cc25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.14-alpine AS build
1+
FROM golang:1.18-alpine AS build
22

33
RUN mkdir -p /go/src/github.com/zacscoding/gin-rest-api-example ~/.ssh && \
44
apk add --no-cache git openssh-client make gcc libc-dev
@@ -8,4 +8,4 @@ RUN make build
88

99
FROM alpine:3
1010
COPY --from=build /go/src/github.com/zacscoding/gin-rest-api-example/article-server /bin/article-server
11-
CMD /bin/article-server
11+
CMD /bin/article-server

0 commit comments

Comments
 (0)