Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
17 lines
576 B
Docker
17 lines
576 B
Docker
FROM openjdk:17.0.2-slim
|
|
|
|
LABEL maintainer="phithon <root@leavesongs.com>"
|
|
|
|
RUN set -ex \
|
|
&& apt-get update \
|
|
&& apt-get install -y --no-install-recommends curl unzip ca-certificates \
|
|
&& curl -#SL https://sourceforge.net/projects/geoserver/files/GeoServer/2.19.1/geoserver-2.19.1-bin.zip/download -o /tmp/geoserver.zip \
|
|
&& mkdir /mnt/geoserver \
|
|
&& unzip /tmp/geoserver.zip -d /mnt/geoserver
|
|
|
|
EXPOSE 8080
|
|
WORKDIR /mnt/geoserver
|
|
|
|
ENV JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"
|
|
CMD [ "/mnt/geoserver/bin/startup.sh" ]
|