Remove some symlinks, separating fs directories

This commit is contained in:
Joe Groocock 2017-05-22 17:05:55 +01:00
parent 4f47aeefc2
commit 96fc3af339

View File

@ -13,11 +13,8 @@ WORKDIR /output
#Set up our dependencies, configure the output filesystem a bit #Set up our dependencies, configure the output filesystem a bit
RUN apt-get update -qy && \ RUN apt-get update -qy && \
apt-get install -qy curl build-essential gawk linux-libc-dev && \ apt-get install -qy curl build-essential gawk linux-libc-dev && \
mkdir -p dev etc home proc root tmp usr/bin usr/sbin usr/lib var && \ mkdir -p bin dev etc home lib proc root sbin tmp usr/bin usr/sbin usr/lib var && \
ln -sv usr/bin bin && \ ln -sv lib lib64
ln -sv usr/sbin sbin && \
ln -sv usr/lib lib && \
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 > bin/busybox && \ RUN curl -L https://busybox.net/downloads/binaries/$BUSYB_VER-defconfig-multiarch/busybox-$ARCH > bin/busybox && \