pgloader/Dockerfile
Dimitri Fontaine bd7eb38720 Review Dockerfiles.
Upgrade to stretch in the docker builds and improve disk footprint to some
degree, using classic docker tricks.

See #748.
2018-02-25 00:00:42 +01:00

21 lines
717 B
Docker

FROM debian:stretch
MAINTAINER Dimitri Fontaine <dim@tapoueh.org>
RUN apt-get update && \
apt-get install -y --no-install-recommends \
wget curl make git bzip2 time \
ca-certificates \
libzip-dev libssl1.1 openssl \
patch unzip libsqlite3-dev gawk \
freetds-dev sbcl && \
rm -rf /var/lib/apt/lists/*
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