pgloader/Dockerfile
Dimitri Fontaine d1a2e3f46b Improve the Dockerfile and the versioning.
When building from sources within the git environement, the version
number is ok, but it was wrong when building in the docker image. Fix
the version number to 3.3.0.50 to show that we're talking about a
development snapshot that is leading to version 3.3.1.

Yeah, 4 parts version numbers. That happens, apparently.
2016-01-07 10:21:52 +01:00

16 lines
453 B
Docker

FROM debian:jessie
MAINTAINER Dimitri Fontaine <dim@tapoueh.org>
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
ADD ./ /opt/src/pgloader
WORKDIR /opt/src/pgloader
# build/ is in the .dockerignore file, but we actually need it now
RUN mkdir -p build/bin
RUN make
RUN cp /opt/src/pgloader/build/bin/pgloader /usr/local/bin