curl instead of wget

This commit is contained in:
Mylloon 2021-08-06 14:05:56 +02:00
parent 40adeb66b4
commit c5c41fab4e

View file

@ -3,7 +3,7 @@ FROM python:3.8.6-slim
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - \ RUN curl -so - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \ add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
apt update && \ apt update && \
apt install -y --no-install-recommands adoptopenjdk-11-openj9 apt install -y --no-install-recommands adoptopenjdk-11-openj9