Improve Dockerfile.

It was quite idiotic to RUN a git clone rather than just use the files
from the docker context...
This commit is contained in:
Dimitri Fontaine 2016-01-05 11:28:19 +01:00
parent 286a39f6e6
commit ee2a68f924

View File

@ -5,8 +5,7 @@ RUN apt-get update
RUN apt-get install -y wget curl make git bzip2 time libzip-dev libssl1.0.0 openssl
RUN apt-get install -y patch unzip libsqlite3-dev gawk freetds-dev sbcl
RUN mkdir -p /opt/src/pgloader
RUN git clone https://github.com/dimitri/pgloader /opt/src/pgloader
ADD ./ /opt/src/pgloader
# we have build in the .dockerignore file, but we actually need it now
RUN mkdir -p /opt/src/pgloader/build/bin