Skip to content

Commit 81332bd

Browse files
committed
Fix docker file
1 parent 82cb9c3 commit 81332bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM golang:1.22.1-alpine3.19 as build
1+
FROM golang:1.23.1-alpine3.20 as build
22

33
WORKDIR /app
44
COPY . /app
55
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build --ldflags '-extldflags=-static' -o github-users main.go
66

7-
FROM alpine:3.19.1
7+
FROM alpine:3.20
88
COPY --from=build /app/github-users /app/
99
COPY /template /template
1010
ENTRYPOINT ["/app/github-users"]

0 commit comments

Comments
 (0)