Skip to content

Commit

Permalink
image bugfix (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmnote authored Dec 29, 2023
1 parent e7f4eb2 commit 629bb90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.idea
.git
.gitignore
.dockerignore
Dockerfile
*.md
*.sh
*.yml
hack
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ COPY . ./
RUN go mod download -x
RUN go build -ldflags="-X 'main.Version=$VERSION'" -o /app/myip

FROM gcr.io/distroless/static-debian12
FROM gcr.io/distroless/base-debian12
COPY --from=build /app/myip /app/
CMD ["/app/myip"]

0 comments on commit 629bb90

Please sign in to comment.