curl instead of wget
This commit is contained in:
parent
40adeb66b4
commit
c5c41fab4e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ FROM python:3.8.6-slim
|
|||
COPY 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/ \
|
||||
apt update && \
|
||||
apt install -y --no-install-recommands adoptopenjdk-11-openj9
|
||||
|
|
Reference in a new issue