Browse Source

No need to clean up test/bench files, we only grab what we need for final image

size-reduction
Luke Childs 5 years ago
parent
commit
da7028b3eb
  1. 3
      0.19/Dockerfile

3
0.19/Dockerfile

@ -112,9 +112,6 @@ RUN ./configure LDFLAGS=-L/opt/db4/lib/ CPPFLAGS=-I/opt/db4/include/ \
RUN make -j$(($(nproc) + 1)) check
RUN make install
# Already taken advantage of before by `make check`. No need to have them installed, as they're very big (~500 MB).
RUN rm ${BITCOIN_PREFIX}/bin/bench_bitcoin ${BITCOIN_PREFIX}/bin/test_bitcoin
# List installed libs, and binaries pre-strip
RUN ls -lh ${BITCOIN_PREFIX}/bin/ ${BITCOIN_PREFIX}/lib/

Loading…
Cancel
Save