Files
vulhub/base/openfire/4.7.4/Dockerfile
Aaron 63285f61aa
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
first commit
2025-09-06 16:08:15 +08:00

16 lines
500 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 wget ca-certificates \
&& mkdir /mnt/openfire \
&& wget -qO- https://github.com/igniterealtime/Openfire/releases/download/v4.7.4/openfire_4_7_4.tar.gz | tar xz -C /mnt/openfire --strip-components=1
COPY openfire.xml /mnt/openfire/conf/openfire.xml
EXPOSE 9090
WORKDIR /mnt/openfire
CMD [ "/mnt/openfire/bin/openfire", "run" ]