Files
blackcoin-more/contrib/docker/moreBuilder/Dockerfile.ubuntu
danielclough 0390f1b8e6 exit
2020-12-09 10:14:10 -08:00

33 lines
720 B
Docker
Executable File

FROM blackcoinnl/blackmore-ubase-x86_64:master as build
RUN echo "Building Ubuntu Package"
#
# Collect dependencies
#
FROM ubuntu
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && \
apt-get -yqq upgrade && \
apt-get -yqq install \
libboost-all-dev \
libzmq3-dev \
libminiupnpc-dev
#
# Copy the binaries from the build to our new container
#
COPY --from=build /blackcoin-more/src/blackmored /usr/local/bin
COPY --from=build /blackcoin-more/src/blackmore-cli /usr/local/bin
COPY --from=build /usr/bin/bc /usr/bin
COPY --from=build /usr/bin/jq /usr/bin
#
# Expose the port for the RPC interface
#
EXPOSE 15714/tcp