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

This commit is contained in:
Luke Childs 2019-12-09 18:52:10 +07:00
parent d48d93dc24
commit da7028b3eb

View File

@ -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/