Upgrade to go 1.14
This commit is contained in:
parent
890f2b24ab
commit
1caffa6386
@ -9,7 +9,7 @@ ADD . .
|
|||||||
RUN GOOS=$(echo $TARGETPLATFORM | cut -f1 -d/) && \
|
RUN GOOS=$(echo $TARGETPLATFORM | cut -f1 -d/) && \
|
||||||
GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d/) && \
|
GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d/) && \
|
||||||
GOARM=$(echo $TARGETPLATFORM | cut -f3 -d/ | sed "s/v//" ) && \
|
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
|
FROM gcr.io/distroless/static
|
||||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module github.com/cyrilix/robocar-arduino
|
module github.com/cyrilix/robocar-arduino
|
||||||
|
|
||||||
go 1.13
|
go 1.14
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/cyrilix/robocar-base v0.1.0
|
github.com/cyrilix/robocar-base v0.1.0
|
||||||
|
8
vendor/modules.txt
vendored
8
vendor/modules.txt
vendored
@ -1,23 +1,31 @@
|
|||||||
# github.com/cyrilix/robocar-base v0.1.0
|
# github.com/cyrilix/robocar-base v0.1.0
|
||||||
|
## explicit
|
||||||
github.com/cyrilix/robocar-base/cli
|
github.com/cyrilix/robocar-base/cli
|
||||||
github.com/cyrilix/robocar-base/service
|
github.com/cyrilix/robocar-base/service
|
||||||
# github.com/cyrilix/robocar-protobuf/go v1.0.0
|
# github.com/cyrilix/robocar-protobuf/go v1.0.0
|
||||||
|
## explicit
|
||||||
github.com/cyrilix/robocar-protobuf/go/events
|
github.com/cyrilix/robocar-protobuf/go/events
|
||||||
# github.com/eclipse/paho.mqtt.golang v1.2.0
|
# github.com/eclipse/paho.mqtt.golang v1.2.0
|
||||||
|
## explicit
|
||||||
github.com/eclipse/paho.mqtt.golang
|
github.com/eclipse/paho.mqtt.golang
|
||||||
github.com/eclipse/paho.mqtt.golang/packets
|
github.com/eclipse/paho.mqtt.golang/packets
|
||||||
# github.com/golang/protobuf v1.3.4
|
# github.com/golang/protobuf v1.3.4
|
||||||
|
## explicit
|
||||||
github.com/golang/protobuf/proto
|
github.com/golang/protobuf/proto
|
||||||
github.com/golang/protobuf/ptypes/timestamp
|
github.com/golang/protobuf/ptypes/timestamp
|
||||||
# github.com/konsorten/go-windows-terminal-sequences v1.0.1
|
# github.com/konsorten/go-windows-terminal-sequences v1.0.1
|
||||||
github.com/konsorten/go-windows-terminal-sequences
|
github.com/konsorten/go-windows-terminal-sequences
|
||||||
# github.com/sirupsen/logrus v1.4.2
|
# github.com/sirupsen/logrus v1.4.2
|
||||||
|
## explicit
|
||||||
github.com/sirupsen/logrus
|
github.com/sirupsen/logrus
|
||||||
# github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
|
# github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
|
||||||
|
## explicit
|
||||||
github.com/tarm/serial
|
github.com/tarm/serial
|
||||||
# golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
|
# golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
|
||||||
|
## explicit
|
||||||
golang.org/x/net/internal/socks
|
golang.org/x/net/internal/socks
|
||||||
golang.org/x/net/proxy
|
golang.org/x/net/proxy
|
||||||
golang.org/x/net/websocket
|
golang.org/x/net/websocket
|
||||||
# golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9
|
# golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9
|
||||||
|
## explicit
|
||||||
golang.org/x/sys/unix
|
golang.org/x/sys/unix
|
||||||
|
Loading…
Reference in New Issue
Block a user