From f8b6fddbe06b377e8e7c041cb8c07e3eb16d1616 Mon Sep 17 00:00:00 2001 From: Keiichi Shimamura Date: Tue, 15 Mar 2022 21:28:59 -0400 Subject: [PATCH] update to Go 1.18.0 (#110) --- distro/Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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