Skip to content

Commit

Permalink
build: update Dockerfile to Go 1.17
Browse files Browse the repository at this point in the history
Signed-off-by: Eng Zer Jun <[email protected]>
  • Loading branch information
Juneezee committed Dec 24, 2021
1 parent 7e54a68 commit 6fb0827
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Dockerfile References: https://docs.docker.com/engine/reference/builder/

# Start from the latest golang base image
FROM golang:1.14-alpine as builder
FROM golang:1.17-alpine as builder

# Set the Current Working Directory inside the container
WORKDIR /app
Expand All @@ -26,4 +26,3 @@ WORKDIR /root/

# Copy the Pre-built binary file from the previous stage
COPY --from=builder /app/swag .

0 comments on commit 6fb0827

Please sign in to comment.