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
Thanks for the project! The docker build is currently failing:
❯ docker-compose build
[+] Building 1.9s (8/8) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/golang:latest 1.6s
=> [internal] load build context 0.0s
=> => transferring context: 22.92kB 0.0s
=> [1/4] FROM docker.io/library/golang@sha256:1724dc3128e2e63f0bc3e055fe4fa478d67f6da4bd95c0e69690f6435f658804 0.0s
=> CACHED [2/4] WORKDIR /go/src/github.com/easonlin404/ksm 0.0s
=> CACHED [3/4] ADD . /go/src/github.com/easonlin404/ksm 0.0s
=> ERROR [4/4] RUN go get -t -v ./... 0.2s
------
> [4/4] RUN go get -t -v ./...:
#0 0.188 go: go.mod file not found in current directory or any parent directory.#0 0.188 'go get' is no longer supported outside a module.#0 0.188 To build and install a command, use 'go install' with a version,#0 0.188 like 'go install example.com/cmd@latest'#0 0.188 For more information, see https://golang.org/doc/go-get-install-deprecation#0 0.188 or run 'go help get' or 'go help install'.
------
failed to solve: executor failed running [/bin/sh -c go get -t -v ./...]: exit code: 1
I'm guessing you need to target a specific version of the golang image?
The text was updated successfully, but these errors were encountered:
Thanks for the project! The docker build is currently failing:
I'm guessing you need to target a specific version of the
golang
image?The text was updated successfully, but these errors were encountered: