generated from gCubeCI/Pipeline-Docker-Template
The image is Oracle based, so microdnf instead of apt.
This commit is contained in:
parent
b455495a27
commit
ea2a5bea02
|
@ -1,9 +1,11 @@
|
|||
FROM openjdk:17
|
||||
|
||||
RUN mkdir -p /opt/shinyproxy
|
||||
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
|
||||
RUN microdnf update \
|
||||
&& microdnf install --nodocs wget \
|
||||
&& microdnf clean all \
|
||||
&& rm -rf /var/cache/yum \
|
||||
&& wget https://shinyproxy.io/downloads/shinyproxy-3.1.0.jar -O /opt/shinyproxy/shinyproxy.jar
|
||||
|
||||
WORKDIR /opt/shinyproxy
|
||||
CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"]
|
||||
|
|
Loading…
Reference in New Issue