-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile-slim
26 lines (24 loc) · 1011 Bytes
/
Dockerfile-slim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# start from steelscript base
FROM riverbed/steelscript:slim
MAINTAINER Riverbed Technology
RUN set -ex \
&& buildDeps=' \
gcc \
g++ \
Cython \
libssl-dev \
libpq-dev \
' \
&& install=' \
libmagic-dev \
' \
&& apt-get update && apt-get install -y $buildDeps $install --no-install-recommends && rm -rf /var/lib/apt/lists/* \
\
&& pip install psycopg2 gunicorn \
&& pip install --src /src -e git+https://github.com/riverbed/steelscript-appfwk#egg=steelscript-appfwk \
&& pip install --src /src \
-e git+https://github.com/riverbed/steelscript-appfwk-business-hours#egg=steelscript-appfwk-business_hours \
-e git+https://github.com/riverbed/steelscript-stock#egg=steelscript-stock \
&& rm -f /src/pip-delete-this-directory.txt \
&& apt-get purge -y --auto-remove $buildDeps \
&& rm -rf ~/.cache