Use COPY instead of ADD

This commit is contained in:
Felix Abecassis 2015-11-17 17:29:58 -08:00
parent 6842245bc1
commit 91199ec04f
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ ENV NVIDIA_GPGKEY_SUM bd841d59a27a406e513db7d405550894188a4c1cd96bf8aa4f82f1b39e
RUN curl -fsSL http://developer.download.nvidia.com/compute/cuda/repos/GPGKEY | sed '/^Version/d' > /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA && \
echo "$NVIDIA_GPGKEY_SUM /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA" | sha256sum -c --strict -
ADD cuda.repo /etc/yum.repos.d/cuda.repo
COPY cuda.repo /etc/yum.repos.d/cuda.repo
ENV CUDA_VERSION 7.0
LABEL com.nvidia.cuda.version="7.0"

View file

@ -6,7 +6,7 @@ ENV NVIDIA_GPGKEY_SUM bd841d59a27a406e513db7d405550894188a4c1cd96bf8aa4f82f1b39e
RUN curl -fsSL http://developer.download.nvidia.com/compute/cuda/repos/GPGKEY | sed '/^Version/d' > /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA && \
echo "$NVIDIA_GPGKEY_SUM /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA" | sha256sum -c --strict -
ADD cuda.repo /etc/yum.repos.d/cuda.repo
COPY cuda.repo /etc/yum.repos.d/cuda.repo
ENV CUDA_VERSION 7.5
LABEL com.nvidia.cuda.version="7.5"