Skip to content

Commit 7fe17e3

Browse files
committed
feat: update fork
1 parent 7ffce9a commit 7fe17e3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
ARG GONSUL=/go/src/github.com/scaleway/gonsul
22

3-
FROM golang:1.14.3-alpine3.11 as build
3+
FROM golang:1.24.2-alpine as build
4+
45
ARG GONSUL
56

6-
RUN apk --no-cache add build-base dep git
7+
RUN apk --no-cache add build-base dep git make
8+
79
RUN mkdir -p $GONSUL
10+
811
WORKDIR $GONSUL
12+
913
COPY . .
14+
1015
RUN make
1116

1217
FROM alpine
18+
1319
ARG GONSUL
1420

1521
COPY --from=build $GONSUL/bin/gonsul /usr/bin/gonsul
22+
1623
RUN adduser -D gonsul
24+
1725
USER gonsul
1826

1927
ENTRYPOINT [ "/usr/bin/gonsul" ]

0 commit comments

Comments
 (0)