docker-exherbo/Dockerfile

21 lines
580 B
Docker
Raw Normal View History

2016-08-12 17:00:42 +00:00
FROM busybox
2016-08-12 15:33:54 +00:00
MAINTAINER Julian Ospald <hasufell@posteo.de>
# copy hooks
COPY ./config/paludis /etc/paludis-new
# This one should be present by running the build.sh script
2016-08-12 17:00:42 +00:00
COPY bootstrap.sh build.sh /
2016-08-12 15:33:54 +00:00
# one step, to make the layer as thin as possible
2016-08-13 17:29:30 +00:00
# bootstrap.sh calls build.sh
2016-08-12 15:33:54 +00:00
RUN /bootstrap.sh amd64 x86_64
# update etc files... hope this doesn't screw up
RUN eclectic config accept-all
# don't allow regular sync, because we want to make sure
# all images deriving from this one have the same state
RUN sed -i -e 's|^sync|#sync|' /etc/paludis/repositories/*.conf