diff --git a/distro/Dockerfile b/distro/Dockerfile index c364283..f13025b 100644 --- a/distro/Dockerfile +++ b/distro/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17.7-alpine as build +FROM golang:1.18.0-alpine as build WORKDIR /app COPY go.mod go.sum ./ RUN go mod download @@ -8,7 +8,7 @@ RUN GOOS=windows go build -ldflags '-s -w -H=windowsgui' -o bin/wsl-gvproxy.exe 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.17.7-alpine as licenses +FROM golang:1.18.0-alpine as licenses RUN apk add --no-cache git && \ apk list --installed && \ go install github.com/google/go-licenses@v1.0.0 diff --git a/go.mod b/go.mod index cf87d48..2fbfae5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/sakai135/wsl-vpnkit -go 1.17 +go 1.18 require ( github.com/pkg/errors v0.9.1