docker-entrypoint: ensure output dir

This commit is contained in:
Vladislav Yarmak 2019-07-11 03:31:01 +03:00
parent 389235cd92
commit 2958221d64

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
echo "/patched-lib" > /etc/ld.so.conf.d/000-patched-lib.conf && \ echo "/patched-lib" > /etc/ld.so.conf.d/000-patched-lib.conf && \
mkdir -p "/patched-lib" && \
PATCH_OUTPUT_DIR=/patched-lib /usr/local/bin/patch.sh && \ PATCH_OUTPUT_DIR=/patched-lib /usr/local/bin/patch.sh && \
cd /patched-lib && \ cd /patched-lib && \
for f in * ; do for f in * ; do