Merge pull request #16 from bagage/fix-build-performance

Do not copy data/ folder. Fix #15
This commit is contained in:
Andy 2016-12-01 18:49:05 +01:00 committed by GitHub
commit e0453bf35e
2 changed files with 2 additions and 1 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
data/

View File

@ -48,7 +48,7 @@ RUN ln -sv libudev.so.1 /lib/i386-linux-gnu/libudev.so.0
# TODO: use debian mirrors if possible? # TODO: use debian mirrors if possible?
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb /tmp/libgcrypt11_i386.deb ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb /tmp/libgcrypt11_i386.deb
ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_amd64.deb /tmp/libgcrypt11_amd64.deb ADD http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_amd64.deb /tmp/libgcrypt11_amd64.deb
ADD http://ftp.de.debian.org/debian/pool/main/j/json-c/libjson-c3_0.12.1-1_amd64.deb /tmp/libjson-c3_amd64.deb ADD http://ftp.de.debian.org/debian/pool/main/j/json-c/libjson-c3_0.12.1-1.1_amd64.deb /tmp/libjson-c3_amd64.deb
RUN cd /tmp && \ RUN cd /tmp && \
dpkg -i *.deb && \ dpkg -i *.deb && \
rm -f *.deb rm -f *.deb