Remove Erlang "examples" directories too
This commit is contained in:
parent
8a95439427
commit
f3583d59e5
|
|
@ -145,7 +145,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
runDeps="$( \
|
runDeps="$( \
|
||||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,11 @@ RUN set -eux; \
|
||||||
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
make -j "$(getconf _NPROCESSORS_ONLN)" GEN_OPT_FLGS="-O2 -fno-strict-aliasing"; \
|
||||||
make install; \
|
make install; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
rm -rf "$OTP_PATH"* /usr/local/lib/erlang/lib/*/src; \
|
rm -rf \
|
||||||
|
"$OTP_PATH"* \
|
||||||
|
/usr/local/lib/erlang/lib/*/examples \
|
||||||
|
/usr/local/lib/erlang/lib/*/src \
|
||||||
|
; \
|
||||||
\
|
\
|
||||||
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
|
||||||
apt-mark auto '.*' > /dev/null; \
|
apt-mark auto '.*' > /dev/null; \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue