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

Docker Build fails #9

Open
fastchain opened this issue Aug 27, 2022 · 0 comments
Open

Docker Build fails #9

fastchain opened this issue Aug 27, 2022 · 0 comments

Comments

@fastchain
Copy link

Hi,
On build command I get this

 docker build -t onionize:dev .           


Sending build context to Docker daemon    106kB
Step 1/15 : FROM golang:alpine AS build-docker-gen
alpine: Pulling from library/golang
213ec9aee27d: Pull complete 
5299e6f78605: Pull complete 
1cab0e43db0a: Pull complete 
a9db28108fe3: Pull complete 
dfface92af7f: Pull complete 
Digest: sha256:0eb08c89ab1b0c638a9fe2780f7ae3ab18f6ecda2c76b908e09eb8073912045d
Status: Downloaded newer image for golang:alpine
 ---> d0f5238dcb8b
Step 2/15 : LABEL stage=intermediate
 ---> Running in e32481bc705b
Removing intermediate container e32481bc705b
 ---> 5460f31647c9
Step 3/15 : RUN apk add --update         curl         gcc         git         make         musl-dev
 ---> Running in 277f53c6fb66
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
(1/19) Installing brotli-libs (1.0.9-r6)
(2/19) Installing nghttp2-libs (1.47.0-r0)
(3/19) Installing libcurl (7.83.1-r2)
(4/19) Installing curl (7.83.1-r2)
(5/19) Installing libgcc (11.2.1_git20220219-r2)
(6/19) Installing libstdc++ (11.2.1_git20220219-r2)
(7/19) Installing binutils (2.38-r3)
(8/19) Installing libgomp (11.2.1_git20220219-r2)
(9/19) Installing libatomic (11.2.1_git20220219-r2)
(10/19) Installing gmp (6.2.1-r2)
(11/19) Installing isl22 (0.22-r0)
(12/19) Installing mpfr4 (4.1.0-r0)
(13/19) Installing mpc1 (1.2.1-r0)
(14/19) Installing gcc (11.2.1_git20220219-r2)
(15/19) Installing expat (2.4.8-r0)
(16/19) Installing pcre2 (10.40-r0)
(17/19) Installing git (2.36.2-r0)
(18/19) Installing make (4.3-r0)
(19/19) Installing musl-dev (1.2.3-r0)
Executing busybox-1.35.0-r17.trigger
OK: 133 MiB in 34 packages
Removing intermediate container 277f53c6fb66
 ---> 7bca5f04aee0
Step 4/15 : RUN go get github.com/jwilder/docker-gen     && cd /go/src/github.com/jwilder/docker-gen     && git fetch --tags     && git -c advice.detachedHead=false checkout $(git describe --tags $(git rev-list --tags --max-count=1))     && make get-deps     && make all
 ---> Running in 0febec7ab521
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
The command '/bin/sh -c go get github.com/jwilder/docker-gen     && cd /go/src/github.com/jwilder/docker-gen     && git fetch --tags     && git -c advice.detachedHead=false checkout $(git describe --tags $(git rev-list --tags --max-count=1))     && make get-deps     && make all' returned a non-zero code: 1
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

1 participant