2022-11-21 13:11:28 -05:00
|
|
|
FROM openjdk:11
|
|
|
|
|
|
|
|
RUN set -ex && \
|
|
|
|
apt update && \
|
|
|
|
apt --no-install-recommends --yes install \
|
|
|
|
make \
|
|
|
|
git
|
|
|
|
|
|
|
|
RUN set -ex && adduser --system --group --disabled-password haveno && \
|
|
|
|
mkdir -p /home/haveno && \
|
|
|
|
chown -R haveno:haveno /home/haveno
|
|
|
|
|
|
|
|
USER haveno
|
|
|
|
|
|
|
|
RUN set -ex && git clone https://github.com/haveno-dex/haveno.git /home/haveno/haveno
|
|
|
|
|
|
|
|
WORKDIR /home/haveno/haveno
|
|
|
|
|
2023-09-11 08:58:37 -04:00
|
|
|
RUN set -ex && git fetch origin && git checkout origin/master
|
|
|
|
|
2022-11-21 13:11:28 -05:00
|
|
|
RUN set -ex && make skip-tests
|
|
|
|
|
|
|
|
ENTRYPOINT [ "./haveno-daemon" ]
|