Change to using relative paths for downloaded binaries

This commit is contained in:
Joe Groocock 2017-05-12 13:43:42 +01:00
parent 1c860794d2
commit 0e350c0f4a

View File

@ -20,10 +20,10 @@ RUN apt-get update -qy && \
ln -sv usr/lib lib64
# 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/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/sbin/tini
RUN curl -L https://busybox.net/downloads/binaries/$BUSYB_VER-defconfig-multiarch/busybox-$ARCH > usr/bin/busybox && \
curl -L https://github.com/javabean/su-exec/releases/download/${SU_EXEC_VER}/su-exec.amd64 > sbin/su-exec && \
curl -L https://github.com/krallin/tini/releases/download/${TINI_VER}/tini-amd64 > bin/tini && \
chmod +x bin/busybox bin/su-exec sbin/tini
WORKDIR /tmp