Simplify, clean up and use official stages image
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user