[Dockerfile] using ADD instead of wget, was there since was in a separate repository

This commit is contained in:
mudler
2016-01-01 19:38:53 +01:00
parent 2c9d87d65d
commit 05b4f9d751
+3 -3
View File
@@ -9,6 +9,9 @@ ENV LC_ALL=en_US.UTF-8
ADD ./script/post-upgrade.sh /post-upgrade.sh
RUN /bin/bash /post-upgrade.sh && rm -rf /post-upgrade.sh
ADD ./script/depcheck /usr/local/bin/depcheck
# Adding our builder script that will run also as entrypoint
ADD ./script/builder /builder
RUN chmod +x /builder
# Set environment variables.
ENV HOME /root
@@ -16,9 +19,6 @@ ENV HOME /root
# Define working directory.
WORKDIR /
# Adding our builder script that will run also as entrypoint
RUN wget 'https://raw.githubusercontent.com/Sabayon/docker-builder-amd64/master/script/builder' -O /builder && chmod +x /builder
# Define standard volumes
VOLUME ["/usr/portage", "/usr/portage/distfiles", "/usr/portage/packages", "/var/lib/entropy/client/packages"]