Skip to content

Commit c0210b2

Browse files
committed
Upgrade to golang 1.14.13 and Alpine 3.12
1 parent e60fa0f commit c0210b2

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,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.13.4-alpine3.10 AS build
1+
FROM --platform=$BUILDPLATFORM golang:1.14.13-alpine3.12 AS build
22
ARG TARGETPLATFORM
33
WORKDIR /go/src/github.com/robbertkl/docker-ipv6nat
44
COPY . .
@@ -9,7 +9,7 @@ RUN [ "$TARGETPLATFORM" = "linux/arm/v7" ] && echo GOOS=linux GOARCH=arm GOARM=7
99
ENV CGO_ENABLED=0
1010
RUN env $(cat .env | xargs) go build -o /docker-ipv6nat.$(echo "$TARGETPLATFORM" | sed -E 's/(^linux|\/)//g') ./cmd/docker-ipv6nat
1111

12-
FROM alpine:3.10 AS release
12+
FROM alpine:3.12 AS release
1313
RUN apk add --no-cache ip6tables
1414
COPY --from=build /docker-ipv6nat.* /docker-ipv6nat
1515
COPY docker-ipv6nat-compat /

0 commit comments

Comments
 (0)