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 is failing #76

Open
ivishalgandhi opened this issue Apr 5, 2023 · 3 comments
Open

Docker build is failing #76

ivishalgandhi opened this issue Apr 5, 2023 · 3 comments

Comments

@ivishalgandhi
Copy link

Docker build is failing with below error. Please advise.

docker-compose build --no-cache
/snap/docker/2746/lib/python3.6/site-packages/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography (40.0) will be the last to support Python 3.6.
  from cryptography.hazmat.backends import default_backend
postgres uses an image, skipping
Building featmap
Sending build context to Docker daemon  17.34MB
Step 1/12 : FROM golang:alpine
 ---> 818ca3531f99
Step 2/12 : WORKDIR /src
 ---> Running in 64cd69627542
Removing intermediate container 64cd69627542
 ---> 55ad42cbba9c
Step 3/12 : RUN apk add --update npm git
 ---> Running in 37007ce6499f
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/14) Installing brotli-libs (1.0.9-r9)
(2/14) Installing nghttp2-libs (1.51.0-r0)
(3/14) Installing libcurl (7.88.1-r1)
(4/14) Installing libexpat (2.5.0-r0)
(5/14) Installing pcre2 (10.42-r0)
(6/14) Installing git (2.38.4-r1)
(7/14) Installing c-ares (1.18.1-r1)
(8/14) Installing libgcc (12.2.1_git20220924-r4)
(9/14) Installing icu-data-en (72.1-r1)
Executing icu-data-en-72.1-r1.post-install
*
* If you need ICU with non-English locales and legacy charset support, install
* package icu-data-full.
*
(10/14) Installing libstdc++ (12.2.1_git20220924-r4)
(11/14) Installing icu-libs (72.1-r1)
(12/14) Installing libuv (1.44.2-r0)
(13/14) Installing nodejs-current (19.7.0-r0)
(14/14) Installing npm (9.1.2-r0)
Executing busybox-1.35.0-r29.trigger
OK: 81 MiB in 30 packages
Removing intermediate container 37007ce6499f
 ---> 3ff770b510eb
Step 4/12 : RUN go get -u github.com/jteeuwen/go-bindata/...
 ---> Running in 90f4ce4cde79
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 -u github.com/jteeuwen/go-bindata/...' returned a non-zero code: 1
ERROR: Service 'featmap' failed to build : Build failed
@davidlindgren
Copy link

Hi there.. This one you can fix by changing 'go get -u' to 'go install'. But there are other issues with the build script, as I posted in #78 .

Cheers!

@davidlindgren
Copy link

davidlindgren commented Apr 8, 2023

Hey @ivishalgandhi ...

I managed to build it using this branch: #69

Hope it helps..

Cheers,

David

@ivishalgandhi
Copy link
Author

@davidlindgren Thank you. I will check it. Appreciate your help.

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