[Dockerfile] using ADD instead of wget, was there since was in a separate repository
This commit is contained in:
+3
-3
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user