Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
update golang and busybox
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinbui committed Apr 7, 2023
1 parent 2284e92 commit 4ca6771
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.19.1-alpine3.16 as builder
FROM golang:1.20.3 as builder
WORKDIR /build
COPY . .
RUN \
CGO_ENABLED=0 \
go build -o main cmd/main.go

FROM busybox:1.34.1
FROM busybox:1.36.0
COPY --from=builder /build/main /main
ENTRYPOINT ["/main"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/calvinbui/homer-docker-service-discovery

go 1.19
go 1.20

require (
github.com/caarlos0/env/v6 v6.10.1
Expand Down

0 comments on commit 4ca6771

Please sign in to comment.