Skip to content

Commit

Permalink
bump version to 0.17.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cornfeedhobo committed Sep 2, 2021
1 parent f967114 commit 2be8e3b
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Multistage docker build, requires docker 17.05

# builder stage
FROM alpine:3.12 as builder
FROM alpine:3.13 as builder

RUN set -ex && apk add --update --no-cache \
autoconf \
Expand Down Expand Up @@ -87,27 +87,66 @@ ENV CFLAGS='-fPIC'
ENV CXXFLAGS='-fPIC -DELPP_FEATURE_CRASH_LOG'

# Monero
ENV MONERO_VERSION=0.17.1.9
ENV MONERO_HASH=8fef32e45c80aec41f25be9d1d8fb75adc883c64
ENV MONERO_VERSION=0.17.2.0
ENV MONERO_HASH=f6e63ef260e795aacd408c28008398785b84103a
RUN set -ex \
&& git clone --recursive --depth 1 -b v${MONERO_VERSION} https://github.com/monero-project/monero.git \
&& cd monero \
&& git submodule init \
&& git submodule update \
&& test `git rev-parse HEAD` = ${MONERO_HASH} || exit 1 \
&& nice -n 19 ionice -c2 -n7 make -j${NPROC:-1} release-static-linux-x86_64
&& nice -n 19 ionice -c2 -n7 make -j${NPROC:-1} release


# runtime stage
FROM alpine:3.12
FROM alpine:3.13

RUN set -ex && apk add --update --no-cache \
boost \
boost-atomic \
boost-chrono \
boost-container \
boost-context \
boost-contract \
boost-coroutine \
boost-date_time \
boost-fiber \
boost-filesystem \
boost-graph \
boost-iostreams \
boost-libs \
boost-locale \
boost-log \
boost-log_setup \
boost-math \
boost-prg_exec_monitor \
boost-program_options \
boost-python3 \
boost-random \
boost-regex \
boost-serialization \
boost-stacktrace_basic \
boost-stacktrace_noop \
boost-static \
boost-system \
boost-thread \
boost-timer \
boost-type_erasure \
boost-unit_test_framework \
boost-wave \
boost-wserialization \
ca-certificates \
libexecinfo \
libsodium \
libusb \
miniupnpc \
ncurses-libs \
openssl \
pcsc-lite-libs \
protobuf \
rapidjson \
readline \
unbound-libs \
zeromq

COPY --from=builder /usr/local/monero/build/Linux/_no_branch_/release/bin/* /usr/local/bin/
Expand Down

0 comments on commit 2be8e3b

Please sign in to comment.