Skip to content

Commit 913ee26

Browse files
committed
Upgrading image
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
1 parent ee33c3e commit 913ee26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
FROM golang:1.22.4-alpine3.20 as gobuilder
2-
RUN apk add git
1+
FROM golang:1.23.1 AS gobuilder
32
WORKDIR /go/src/github.com/jeanlaurent/kamoulox
43
COPY . ./
54
RUN go build .
65

7-
FROM alpine:3.20.0
6+
FROM scratch
87
RUN adduser -D kamouloxuser
98
USER kamouloxuser
109
WORKDIR /app

0 commit comments

Comments
 (0)