mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Create Docker build image, build project with Docker
This commit is contained in:
25
docker/Dockerfile-build
Normal file
25
docker/Dockerfile-build
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM python:3.4-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN \
|
||||
echo "Install base packages" \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
make \
|
||||
git \
|
||||
build-essential \
|
||||
zip \
|
||||
libpq-dev \
|
||||
|
||||
&& echo "Clean up" \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
||||
|
||||
RUN \
|
||||
echo "Install global pip packages" \
|
||||
&& pip install \
|
||||
virtualenv \
|
||||
awscli
|
||||
|
||||
WORKDIR /var/project
|
||||
Reference in New Issue
Block a user