usc-isi-i2 / Web-Karma

Information Integration Tool
http://www.isi.edu/integration/karma/
Apache License 2.0
588 stars 196 forks source link

Dockerfile is out of date: Maven binaries url gives 404 #602

Open patrick-nanys opened 8 months ago

patrick-nanys commented 8 months ago

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 .
[+] 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):