From 1caffa638677c9d09ef25a80a1767b03a0600f8f Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Sat, 4 Apr 2020 12:05:06 +0200 Subject: [PATCH] Upgrade to go 1.14 --- Dockerfile | 2 +- go.mod | 2 +- vendor/modules.txt | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 30c1cd0..2951bd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ADD . . RUN GOOS=$(echo $TARGETPLATFORM | cut -f1 -d/) && \ GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d/) && \ GOARM=$(echo $TARGETPLATFORM | cut -f3 -d/ | sed "s/v//" ) && \ - CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} GOARM=${GOARM} go build -a -mod vendor -tags netgo ./cmd/rc-arduino/ + CGO_ENABLED=0 GOOS=${GOOS} GOARCH=${GOARCH} GOARM=${GOARM} go build -a -tags netgo ./cmd/rc-arduino/ FROM gcr.io/distroless/static diff --git a/go.mod b/go.mod index 941a038..c2d46ce 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/cyrilix/robocar-arduino -go 1.13 +go 1.14 require ( github.com/cyrilix/robocar-base v0.1.0 diff --git a/vendor/modules.txt b/vendor/modules.txt index 6ca8051..ba90f4d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,23 +1,31 @@ # github.com/cyrilix/robocar-base v0.1.0 +## explicit github.com/cyrilix/robocar-base/cli github.com/cyrilix/robocar-base/service # github.com/cyrilix/robocar-protobuf/go v1.0.0 +## explicit github.com/cyrilix/robocar-protobuf/go/events # github.com/eclipse/paho.mqtt.golang v1.2.0 +## explicit github.com/eclipse/paho.mqtt.golang github.com/eclipse/paho.mqtt.golang/packets # github.com/golang/protobuf v1.3.4 +## explicit github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes/timestamp # github.com/konsorten/go-windows-terminal-sequences v1.0.1 github.com/konsorten/go-windows-terminal-sequences # github.com/sirupsen/logrus v1.4.2 +## explicit github.com/sirupsen/logrus # github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07 +## explicit github.com/tarm/serial # golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 +## explicit golang.org/x/net/internal/socks golang.org/x/net/proxy golang.org/x/net/websocket # golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9 +## explicit golang.org/x/sys/unix