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

Building docker fails #37

Open
aravindpad opened this issue Nov 10, 2023 · 0 comments
Open

Building docker fails #37

aravindpad opened this issue Nov 10, 2023 · 0 comments

Comments

@aravindpad
Copy link

Docker build fails

root@ar-builder:/home/debian/phenomenet-vp# docker build -t phenomenet-vp .
[+] Building 0.8s (8/11)
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                                                                                                                                         0.0s
 => => transferring dockerfile: 779B                                                                                                                                                                                                                                                                                                                                                                         0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                                                                                                                                            0.0s
 => => transferring context: 67B                                                                                                                                                                                                                                                                                                                                                                             0.0s
 => [internal] load metadata for docker.io/omahoco1/alpine-java-python:latest                                                                                                                                                                                                                                                                                                                                0.3s
 => [1/8] FROM docker.io/omahoco1/alpine-java-python@sha256:fc6c9b9f8742e5da5aa1206abbdd3825fbfb52473adfddfb985822e3d89ebb87                                                                                                                                                                                                                                                                                 0.0s
 => [internal] load build context                                                                                                                                                                                                                                                                                                                                                                            0.0s
 => => transferring context: 4.20kB                                                                                                                                                                                                                                                                                                                                                                          0.0s
 => CACHED [2/8] RUN mkdir /tmp/phenomenet-vp                                                                                                                                                                                                                                                                                                                                                                0.0s
 => CACHED [3/8] WORKDIR /tmp/phenomenet-vp                                                                                                                                                                                                                                                                                                                                                                  0.0s
 => ERROR [4/8] RUN curl -L https://downloads.gradle.org/distributions/gradle-4.10.2-bin.zip -o gradle.zip &&   mkdir /opt/gradle &&   unzip -d /opt/gradle gradle.zip &&   rm -rf *                                                                                                                                                                                                                         0.5s
------
 > [4/8] RUN curl -L https://downloads.gradle.org/distributions/gradle-4.10.2-bin.zip -o gradle.zip &&   mkdir /opt/gradle &&   unzip -d /opt/gradle gradle.zip &&   rm -rf *:
#0 0.287 /bin/sh: curl: not found
------
Dockerfile:11
--------------------
  10 |     # Install gradle
  11 | >>> RUN curl -L https://downloads.gradle.org/distributions/gradle-4.10.2-bin.zip -o gradle.zip && \
  12 | >>>   mkdir /opt/gradle && \
  13 | >>>   unzip -d /opt/gradle gradle.zip && \
  14 | >>>   rm -rf *
  15 |
--------------------
ERROR: failed to solve: process "/bin/sh -c curl -L https://downloads.gradle.org/distributions/gradle-4.10.2-bin.zip -o gradle.zip &&   mkdir /opt/gradle &&   unzip -d /opt/gradle gradle.zip &&   rm -rf *" did not complete successfully: exit code: 127
root@ar-builder:/home/debian/phenomenet-vp#
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