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 # If <dest> doesn't exist, it is created along with all missing
# directories in its path. # 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 && \ RUN /opt/letsencrypt/src/ubuntu.sh && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* \ rm -rf /var/lib/apt/lists/* \
+1 -1
View File
@@ -22,7 +22,7 @@ WORKDIR /opt/letsencrypt
# TODO: Install non-default Python versions for tox. # TODO: Install non-default Python versions for tox.
# TODO: Install Apache/Nginx for plugin development. # TODO: Install Apache/Nginx for plugin development.
COPY bootstrap/ubuntu.sh /opt/letsencrypt/src/ COPY bootstrap/ubuntu.sh /opt/letsencrypt/src/ubuntu.sh
RUN /opt/letsencrypt/src/ubuntu.sh && \ RUN /opt/letsencrypt/src/ubuntu.sh && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* \ rm -rf /var/lib/apt/lists/* \