mirror of
https://github.com/dimitri/pgloader.git
synced 2026-01-23 16:11:31 +01:00
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.
16 lines
453 B
Docker
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
|