Change to using relative paths for downloaded binaries
This commit is contained in:
parent
1c860794d2
commit
0e350c0f4a
@ -20,10 +20,10 @@ RUN apt-get update -qy && \
|
|||||||
ln -sv usr/lib lib64
|
ln -sv usr/lib lib64
|
||||||
|
|
||||||
# Pull busybox and some other utilities
|
# Pull busybox and some other utilities
|
||||||
RUN curl -L https://busybox.net/downloads/binaries/$BUSYB_VER-defconfig-multiarch/busybox-$ARCH > /output/usr/bin/busybox && \
|
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 > /output/sbin/su-exec && \
|
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 > /output/bin/tini && \
|
curl -L https://github.com/krallin/tini/releases/download/${TINI_VER}/tini-amd64 > bin/tini && \
|
||||||
chmod +x /output/bin/busybox /output/bin/su-exec /output/sbin/tini
|
chmod +x bin/busybox bin/su-exec sbin/tini
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user