FROM swiftdocker/swift:latest
ENV dir /vapor
WORKDIR ${dir}
ARG DEBIAN_FRONTEND=noninteractive
ENV WORK_DIR=${dir}
ENV HOME=${dir}
ENV SHELL=/bin/bash
RUN apt-get update -y && apt-get install -y --no-install-recommends apt-utils
RUN apt-get install -y curl
wget
vim
software-properties-common
python-software-properties
apt-transport-https
&& apt-get clean
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN wget -q https://repo.vapor.codes/apt/keyring.gpg -O- | apt-key add -
&& echo "deb https://repo.vapor.codes/apt xenial main" | tee /etc/apt/sources.list.d/vapor.list
&& apt-get -q update
RUN apt-get install -y vapor
RUN apt-get install -y postgresql postgresql-contrib libpq-dev
Content type
Image
Digest
Size
688.4 MB
Last updated
about 8 years ago
docker pull nkarataev/vapor3psql