Merge pull request #303 from PeterDaveHello/ImproveDockerfile

Use COPY instead of ADD for files and folders in Dockerfile
This commit is contained in:
Marko Viitanen 2021-06-03 17:08:21 +03:00 committed by GitHub
commit 28ab25f924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ MAINTAINER Marko Viitanen <fador@iki.fi>
# List of needed packages to be able to build kvazaar with autotools # List of needed packages to be able to build kvazaar with autotools
ENV REQUIRED_PACKAGES automake autoconf libtool m4 build-essential git yasm pkgconf ENV REQUIRED_PACKAGES automake autoconf libtool m4 build-essential git yasm pkgconf
ADD . kvazaar COPY . kvazaar
# Run all the commands in one RUN so we don't have any extra history # Run all the commands in one RUN so we don't have any extra history
# data in the image. # data in the image.
RUN apt-get update \ RUN apt-get update \