You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 4/4 : RUN mkdir /out && go build .
---> Running in 6298105a919c
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/nsf/termbox-go v0.0.0-20200418040025-38ba6e5628f1
client.go:36:2: no required module provides package golang.org/x/net/icmp; to add it:
go get golang.org/x/net/icmp
client.go:37:2: no required module provides package golang.org/x/net/ipv4; to add it:
go get golang.org/x/net/ipv4
client.go:38:2: no required module provides package golang.org/x/net/ipv6; to add it:
go get golang.org/x/net/ipv6
To fix the 2 issues
diff --git a/Dockerfile b/Dockerfile
index 8676acb..936ca02 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,10 @@
-FROM golang:1.13
+FROM golang:1.19
WORKDIR /app
ADD ./ /app
+RUN go get golang.org/x/net
+
RUN mkdir /out && \
go build .
diff --git a/go.mod b/go.mod
index dc863c7..62c1c5e 100644
--- a/go.mod
+++ b/go.mod
The text was updated successfully, but these errors were encountered:
Issue 1
Issue 2
To fix the 2 issues
The text was updated successfully, but these errors were encountered: