haveno-core/docker/Dockerfile.core

32 lines
766 B
Text
Raw Normal View History

2025-06-18 20:28:21 +00:00
FROM openjdk:21-jdk-bullseye
RUN set -ex && \
apt update && \
apt --no-install-recommends --yes install \
make \
git \
tor
RUN set -ex && adduser --system --group --disabled-password haveno && \
mkdir -p /home/haveno && \
chown -R haveno:haveno /home/haveno
USER haveno
WORKDIR /home/haveno
RUN set -ex && git clone https://foss.haveno.com/haveno-network/haveno-core.git
2025-06-18 20:28:21 +00:00
2025-06-26 13:56:09 +00:00
WORKDIR /home/haveno/haveno-core
2025-06-18 20:28:21 +00:00
RUN git checkout master && \
git reset --hard
RUN make clean && make skip-tests
2025-06-26 13:56:09 +00:00
WORKDIR /home/haveno/haveno-core
2025-06-18 20:28:21 +00:00
ENTRYPOINT [ "./haveno-seednode" ]
## CMDs are conditional based on type
CMD ["--baseCurrencyNetwork=XMR_MAINNET", "--useLocalhostForP2P=false", "--useDevPrivilegeKeys=false", "--nodePort=2002"]