Simplify, clean up and use official stages image

This commit is contained in:
2018-06-07 17:56:22 +02:00
parent efa6ff7362
commit 189519b14f
3 changed files with 54 additions and 73 deletions

View File

@@ -1,15 +1,16 @@
FROM busybox
FROM exherbo/exherbo-x86_64-pc-linux-gnu-base
MAINTAINER Julian Ospald <hasufell@posteo.de>
ENV PALUDIS_DO_NOTHING_SANDBOXY=1
RUN echo "export PALUDIS_DO_NOTHING_SANDBOXY=1" >> /etc/profile
# copy hooks
COPY ./config/paludis /etc/paludis-new
COPY ./config/paludis /etc/paludis
# This one should be present by running the build.sh script
COPY bootstrap.sh build.sh /
# one step, to make the layer as thin as possible
# bootstrap.sh calls build.sh
RUN /bootstrap.sh amd64 x86_64
COPY build.sh /
RUN chmod +x /build.sh && /build.sh
RUN rm /build.sh
# update etc files... hope this doesn't screw up
RUN eclectic config accept-all