Install wget into the image.

This commit is contained in:
Andrea Dell'Amico 2024-05-14 19:20:12 +02:00
parent 3ea0e38209
commit b455495a27
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
FROM openjdk:17 FROM openjdk:17
RUN mkdir -p /opt/shinyproxy RUN mkdir -p /opt/shinyproxy
RUN wget https://shinyproxy.io/downloads/shinyproxy-3.1.0.jar -O /opt/shinyproxy/shinyproxy.jar RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends \
wget && wget https://shinyproxy.io/downloads/shinyproxy-3.1.0.jar -O /opt/shinyproxy/shinyproxy.jar
WORKDIR /opt/shinyproxy WORKDIR /opt/shinyproxy
CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"] CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"]