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
|
FROM openjdk:17
|
||||||
|
|
||||||
RUN mkdir -p /opt/shinyproxy
|
RUN mkdir -p /opt/shinyproxy
|
||||||
RUN apt-get update --yes && \
|
RUN microdnf update \
|
||||||
apt-get install --yes --no-install-recommends \
|
&& microdnf install --nodocs wget \
|
||||||
wget && wget https://shinyproxy.io/downloads/shinyproxy-3.1.0.jar -O /opt/shinyproxy/shinyproxy.jar
|
&& 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
|
WORKDIR /opt/shinyproxy
|
||||||
CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"]
|
CMD ["java", "-jar", "/opt/shinyproxy/shinyproxy.jar"]
|
||||||
|
|
Loading…
Reference in New Issue