forked from dimitri/pgloader
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apparently it's quite common nowadays for people to use docker to build and run software in a contained way, so provide users with the facility they need in order to do that.
- Loading branch information
Showing
3 changed files
with
25 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.git | ||
.vagrant | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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 | ||
|
||
RUN mkdir -p /opt/src/pgloader | ||
RUN git clone https://github.com/dimitri/pgloader /opt/src/pgloader | ||
|
||
# we have build in the .dockerignore file, but we actually need it now | ||
RUN mkdir -p /opt/src/pgloader/build/bin | ||
RUN make PWD=/opt/src/pgloader -C /opt/src/pgloader | ||
|
||
RUN cp /opt/src/pgloader/build/bin/pgloader /usr/local/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters