Skip to content

Commit

Permalink
change dockerfile to go1.20 and apline3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Dec 27, 2023
1 parent c775a8a commit 6145e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine3.18 AS go-builder
FROM golang:1.20-alpine3.17 AS go-builder

RUN apk add --no-cache ca-certificates build-base git

Expand Down Expand Up @@ -26,7 +26,7 @@ RUN cd demo/ && LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make
&& (file /code/demo/build/meshd | grep "statically linked")

# --------------------------------------------------------
FROM alpine:3.18
FROM alpine:3.17

COPY --from=go-builder /code/demo/build/meshd /usr/bin/meshd

Expand Down

0 comments on commit 6145e86

Please sign in to comment.