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

Could not build Docker image #26

Open
Taliaaaa opened this issue Apr 11, 2021 · 1 comment
Open

Could not build Docker image #26

Taliaaaa opened this issue Apr 11, 2021 · 1 comment

Comments

@Taliaaaa
Copy link

I could not build Docker image.
when I run this command
sudo docker build -t hulk .

It gives output

Step 3/5 : RUN apk add --no-cache git && go get -d -v github.com/grafov/hulk && go install github.com/grafov/hulk && rm -rf ~/go/src/github.com/grafov/hulk && apk del git
---> Running in 80f7fdfae834
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/6) Installing brotli-libs (1.0.9-r3)
(2/6) Installing nghttp2-libs (1.42.0-r1)
(3/6) Installing libcurl (7.74.0-r1)
(4/6) Installing expat (2.2.10-r1)
(5/6) Installing pcre2 (10.36-r0)
(6/6) Installing git (2.30.2-r0)
Executing busybox-1.32.1-r5.trigger
OK: 19 MiB in 21 packages
go: downloading github.com/grafov/hulk v0.0.0-20200102085642-96706999f6b1
go install: version is required when current directory is not in a module
Try 'go install github.com/grafov/hulk@latest' to install the latest version
The command '/bin/sh -c apk add --no-cache git && go get -d -v github.com/grafov/hulk && go install github.com/grafov/hulk && rm -rf ~/go/src/github.com/grafov/hulk && apk del git' returned a non-zero code: 1

@PostboxRetinal
Copy link

Same here:
imagen

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