Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ ENV OPENFIRE_VERSION=4.8.3 \
OPENFIRE_DATA_DIR=/var/lib/openfire \
OPENFIRE_LOG_DIR=/var/log/openfire

COPY fake-java.equivs /tmp/fake-java.equivs

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y sudo wget fontconfig libfreetype6 \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y sudo equivs wget fontconfig libfreetype6 \
&& cd /tmp && equivs-build /tmp/fake-java.equivs && dpkg -i /tmp/java17-runtime_17_all.deb \
&& echo "Downloading openfire_${OPENFIRE_VERSION}_all.deb ..." \
&& wget --no-verbose "http://download.igniterealtime.org/openfire/openfire_${OPENFIRE_VERSION}_all.deb" -O /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
&& dpkg -i --force-depends /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
&& dpkg -i /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
&& mv /var/lib/openfire/plugins/admin /usr/share/openfire/plugin-admin \
&& ln -s /usr/local/openjdk-17/bin/java /usr/bin/java \
&& rm -rf /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
&& rm -rf /tmp/*.deb /tmp/*.equivs \
&& rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /sbin/entrypoint.sh
Expand Down
5 changes: 5 additions & 0 deletions fake-java.equivs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Package: java17-runtime
Version: 17
Architecture: all
Description: dummy java17-runtime package
A dummy package to avoid dpkg dependency issues.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nasqueron code follows an inclusive language policy.

The dummy word can be associated to "negative perceptions of neurodivergent people and people unable to speak".

https://www.incits.org/dotAsset/29643f45-86d8-4137-987e-9685b944d1e0.pdf suggests "placeholder" or "mock" as an alternative.