From c99296fa8fb7213bc868cec7dfb17fd3de9e9f93 Mon Sep 17 00:00:00 2001 From: Keiichi Shimamura Date: Thu, 11 Aug 2022 20:36:16 -0400 Subject: [PATCH] update to alpine 3.16.2 and golang 1.18.5 (#142) * update to alpine 3.16.2 * update to golang 1.18.5 --- distro/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distro/Dockerfile b/distro/Dockerfile index 1f79045..e6bf884 100644 --- a/distro/Dockerfile +++ b/distro/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.4-alpine3.16 as build +FROM golang:1.18.5-alpine3.16 as build WORKDIR /app COPY go.mod go.sum ./ RUN go mod download @@ -8,7 +8,7 @@ RUN GOOS=windows go build -ldflags '-H=windowsgui' -o bin/wsl-gvproxy.exe ./cmd/ GOOS=linux CGO_ENABLED=0 go build -ldflags '-s -w' -o bin/wsl-vm ./cmd/vm && \ find ./bin -type f -exec sha256sum {} \; -FROM golang:1.18.4-alpine3.16 as licenses +FROM golang:1.18.5-alpine3.16 as licenses RUN apk add --no-cache git && \ apk list --installed && \ go install github.com/google/go-licenses@v1.0.0 @@ -19,7 +19,7 @@ COPY pkg ./pkg RUN go-licenses save ./cmd/gvproxy --save_path ./licenses/gvproxy && \ go-licenses save ./cmd/vm --save_path ./licenses/vm -FROM alpine:3.16.1 +FROM alpine:3.16.2 RUN apk add --no-cache openrc iptables && \ apk list --installed ARG REF=https://example.com/