We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When I try to build the Dockerfile then the url from where it tries to download the maven binaries cannot be found (404 error).
To Reproduce I run docker build -t karma . and then I get the following error:
docker build -t karma .
❯ docker build -t karma . [+] Building 3.0s (8/12) docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 520B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/openjdk:8-jdk-alpine 1.8s => [auth] library/openjdk:pull token for registry-1.docker.io 0.0s => [1/8] FROM docker.io/library/openjdk:8-jdk-alpine@sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f2283343547b3 0.0s => CACHED [2/8] RUN apk add --no-cache curl tar git 0.0s => CACHED [3/8] WORKDIR /karma 0.0s => ERROR [4/8] RUN wget https://mirrors.sonic.net/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz 1.1s ------ > [4/8] RUN wget https://mirrors.sonic.net/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz: 0.314 Connecting to mirrors.sonic.net (157.131.224.201:443) 1.056 wget: server returned error: HTTP/1.1 404 Not Found ------ Dockerfile:6 -------------------- 4 | WORKDIR /karma 5 | 6 | >>> RUN wget https://mirrors.sonic.net/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz 7 | 8 | RUN tar xzvf apache-maven-3.6.3-bin.tar.gz -------------------- ERROR: failed to solve: process "/bin/sh -c wget https://mirrors.sonic.net/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz" did not complete successfully: exit code: 1
Expected behavior The building the Dockerfile should succeed.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Did this work for you, @patrick-nanys ? The dockerfile has been updated from maven 3.6.3. to 3.9.6
91a7602
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When I try to build the Dockerfile then the url from where it tries to download the maven binaries cannot be found (404 error).
To Reproduce
I run
docker build -t karma .
and then I get the following error:Expected behavior
The building the Dockerfile should succeed.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: