Move /bin/tini so /sbin/tini

This commit is contained in:
Joe Groocock 2017-05-12 11:42:16 +01:00
parent 44ec25c56a
commit 9b14c2fc75

View File

@ -32,9 +32,9 @@ RUN for pkg in $PACKAGES; do \
# Pull busybox and some other utilities
RUN curl -L https://busybox.net/downloads/binaries/$BUSYB_VER-defconfig-multiarch/busybox-$ARCH > /output/usr/bin/busybox && \
curl -L https://github.com/javabean/su-exec/releases/download/${SU_EXEC_VER}/su-exec.amd64 > /output/bin/su-exec && \
curl -L https://github.com/javabean/su-exec/releases/download/${SU_EXEC_VER}/su-exec.amd64 > /output/sbin/su-exec && \
curl -L https://github.com/krallin/tini/releases/download/${TINI_VER}/tini-amd64 > /output/bin/tini && \
chmod +x /output/bin/busybox /output/bin/su-exec /output/bin/tini
chmod +x /output/bin/busybox /output/bin/su-exec /output/sbin/tini
WORKDIR /tmp