Skip to content

Commit

Permalink
Use HTTPS for the downloads
Browse files Browse the repository at this point in the history
All-though not required for integrity as the checksums are being changed it does not hurt and gives privacy as well as protection from having the build failed because someone injects something etc...
  • Loading branch information
netmackan authored Aug 7, 2018
1 parent b4dfe00 commit 317568a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bouncycastle/1.59/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ RUN apt update
RUN apt install -y --no-install-recommends ant git unzip wget strip-nondeterminism file

RUN mkdir -p /opt/junit
RUN wget http://central.maven.org/maven2/junit/junit/4.12/junit-4.12.jar -O /opt/junit/junit.jar
RUN wget https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar -O /opt/junit/junit.jar

RUN mkdir -p /opt/javamail
RUN wget http://central.maven.org/maven2/javax/mail/javax.mail-api/1.6.1/javax.mail-api-1.6.1.jar -O /opt/javamail/mail.jar
RUN wget https://repo1.maven.org/maven2/javax/mail/javax.mail-api/1.6.1/javax.mail-api-1.6.1.jar -O /opt/javamail/mail.jar

RUN mkdir -p /opt/jaf
RUN wget http://central.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1.jar -O /opt/jaf/activation.jar
RUN wget https://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1.jar -O /opt/jaf/activation.jar

ADD dependencies_shasums.txt /
RUN sha256sum --check /dependencies_shasums.txt
Expand Down

0 comments on commit 317568a

Please sign in to comment.