Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running "docker-compose up" #49

Open
Aangbaeck opened this issue Apr 13, 2023 · 1 comment
Open

Error when running "docker-compose up" #49

Aangbaeck opened this issue Apr 13, 2023 · 1 comment

Comments

@Aangbaeck
Copy link

Aangbaeck commented Apr 13, 2023

Hi, I get the following error when trying to deploy this project.

Running Windows 11 with Docker Desktop.
Any ideas what could be wrong?

[+] Building 1.0s (9/16)
 => [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/alpine:3.8                                                      0.4s
 => [internal] load metadata for docker.io/library/golang:1                                                        0.5s
 => [stage-1 1/5] FROM docker.io/library/alpine:3.8@sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7  0.0s
 => CACHED [builder 1/6] FROM docker.io/library/golang:1@sha256:403f48633fb5ebd49f9a2b6ad6719f912df23dae44974a0c9  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 13.63kB                                                                               0.0s
 => CACHED [stage-1 2/5] RUN apk add --no-cache curl cifs-utils ca-certificates     && adduser -D -u 1000 chartmu  0.0s
 => ERROR [builder 2/6] RUN go get github.com/tools/godep                                                          0.4s
------
 > [builder 2/6] RUN go get github.com/tools/godep:
#0 0.405 go: go.mod file not found in current directory or any parent directory.
#0 0.405        'go get' is no longer supported outside a module.
#0 0.405        To build and install a command, use 'go install' with a version,
#0 0.405        like 'go install example.com/cmd@latest'
#0 0.405        For more information, see https://golang.org/doc/go-get-install-deprecation
#0 0.405        or run 'go help get' or 'go help install'.
------
failed to solve: executor failed running [/bin/sh -c go get github.com/tools/godep]: exit code: 1
@fharper
Copy link

fharper commented Jul 11, 2023

Replace RUN go get github.com/tools/godep with RUN go install github.com/tools/godep@master in Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants