|
|
@ -8,6 +8,7 @@ ENV MONERO_SUMS_FILE sha256sums
|
|
|
|
WORKDIR /opt/monero
|
|
|
|
WORKDIR /opt/monero
|
|
|
|
|
|
|
|
|
|
|
|
# Update system and install dependencies
|
|
|
|
# Update system and install dependencies
|
|
|
|
|
|
|
|
# Download ban list
|
|
|
|
# Download Monero binaries from getmonero.org
|
|
|
|
# Download Monero binaries from getmonero.org
|
|
|
|
# Confirm hashes match
|
|
|
|
# Confirm hashes match
|
|
|
|
# Install daemon binary
|
|
|
|
# Install daemon binary
|
|
|
@ -17,6 +18,8 @@ RUN apt-get update \
|
|
|
|
&& apt-get upgrade -y \
|
|
|
|
&& apt-get upgrade -y \
|
|
|
|
&& apt-get install -y tar wget bzip2
|
|
|
|
&& apt-get install -y tar wget bzip2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN wget -qO /ban_list.txt "https://raw.githubusercontent.com/Boog900/monero-ban-list/main/ban_list.txt"
|
|
|
|
|
|
|
|
|
|
|
|
RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
|
|
|
|
RUN wget -qO ${MONERO_DL_FILE} ${MONERO_DL_URL} \
|
|
|
|
&& echo "${MONERO_HASH} ${MONERO_DL_FILE}" > ${MONERO_SUMS_FILE} \
|
|
|
|
&& echo "${MONERO_HASH} ${MONERO_DL_FILE}" > ${MONERO_SUMS_FILE} \
|
|
|
|
&& sha256sum -c ${MONERO_SUMS_FILE}; \
|
|
|
|
&& sha256sum -c ${MONERO_SUMS_FILE}; \
|
|
|
@ -37,6 +40,7 @@ WORKDIR /data
|
|
|
|
# Copy to fresh Ubuntu image to reduce size
|
|
|
|
# Copy to fresh Ubuntu image to reduce size
|
|
|
|
FROM ubuntu:22.04
|
|
|
|
FROM ubuntu:22.04
|
|
|
|
COPY --from=OG /usr/local/bin/monerod /usr/local/bin/monerod
|
|
|
|
COPY --from=OG /usr/local/bin/monerod /usr/local/bin/monerod
|
|
|
|
|
|
|
|
COPY --from=OG /ban_list.txt /ban_list.txt
|
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 18080
|
|
|
|
EXPOSE 18080
|
|
|
|
EXPOSE 18081
|
|
|
|
EXPOSE 18081
|
|
|
|