-
Notifications
You must be signed in to change notification settings - Fork 10
/
Dockerfile.slim
41 lines (38 loc) · 1.92 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Dockerfile.slim
# version: 24.9.1
# start with slim version
FROM python:3.12-slim
LABEL org.opencontainers.image.authors="Riverbed Community"
LABEL org.opencontainers.image.source="https://github.com/riverbed/steelscript"
RUN set -ex \
&& install=' \
git \
less \
vim \
libpcap-dev \
' \
&& apt-get update && apt-get install -y $install --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN set -ex \
&& buildDeps=' \
g++ \
libssl-dev \
libffi-dev \
' \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
\
&& pip install --src /src \
-e git+https://github.com/riverbed/steelscript#egg=steelscript \
-e git+https://github.com/riverbed/steelscript-netprofiler#egg=steelscript-netprofiler \
-e git+https://github.com/riverbed/steelscript-wireshark#egg=steelscript-wireshark \
-e git+https://github.com/riverbed/steelscript-cmdline#egg=steelscript-cmdline \
-e git+https://github.com/riverbed/steelscript-scc#egg=steelscript-scc \
-e git+https://github.com/riverbed/steelscript-appresponse#egg=steelscript-appresponse \
-e git+https://github.com/riverbed/steelscript-netim.git#egg=steelscript-netim \
-e git+https://github.com/riverbed/steelscript-client-accelerator-controller#egg=steelscript-cacontroller \
&& pip install Cython \
&& pip install --src /src \
-e git+https://github.com/riverbed/steelscript-steelhead#egg=steelscript-steelhead \
-e git+https://github.com/riverbed/steelscript-packets.git@master#egg=steelscript-packets \
&& rm -f /src/pip-delete-this-directory.txt \
&& apt-get purge -y --auto-remove $buildDeps \
&& rm -rf ~/.cache