From 96fc3af33957e8dfa944bdb1a11768a39ac1f3cf Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Mon, 22 May 2017 17:05:55 +0100 Subject: [PATCH] Remove some symlinks, separating fs directories --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63ba1d4..8d80266 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,8 @@ WORKDIR /output #Set up our dependencies, configure the output filesystem a bit RUN apt-get update -qy && \ 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 && \ - ln -sv usr/bin bin && \ - ln -sv usr/sbin sbin && \ - ln -sv usr/lib lib && \ - ln -sv usr/lib lib64 + mkdir -p bin dev etc home lib proc root sbin tmp usr/bin usr/sbin usr/lib var && \ + ln -sv lib lib64 # Pull busybox and some other utilities RUN curl -L https://busybox.net/downloads/binaries/$BUSYB_VER-defconfig-multiarch/busybox-$ARCH > bin/busybox && \