docker: Use full filename when copying symlink

Works around an upstream bug in Docker:

https://github.com/docker/docker/issues/17730

Fixes #1374
This commit is contained in:
John Leach
2015-11-05 18:52:10 +00:00
parent f67fab6f5f
commit ec5c28980d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ WORKDIR /opt/letsencrypt
# If <dest> doesn't exist, it is created along with all missing
# directories in its path.
COPY bootstrap/ubuntu.sh /opt/letsencrypt/src/
COPY bootstrap/ubuntu.sh /opt/letsencrypt/src/ubuntu.sh
RUN /opt/letsencrypt/src/ubuntu.sh && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* \