forked from riverbed/steelscript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.dev
57 lines (49 loc) · 1.96 KB
/
Dockerfile.dev
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Dockerfile.dev
# version: 24.11.1
#
# Riverbed SteelScript, https://github.com/riverbed/steelscript
#
# Usage
#
# # Build
#
# docker build --tag steelscript.dev:latest -f Dockerfile.dev .
FROM python:3.13
LABEL org.opencontainers.image.authors="Riverbed Community"
LABEL org.opencontainers.image.source="https://github.com/riverbed/steelscript"
LABEL org.opencontainers.image.title="SteelScript - development"
LABEL org.opencontainers.image.version="24.11.1"
COPY steelscript /src-dev/steelscript
COPY steelscript-netprofiler /src-dev/steelscript-netprofiler
COPY steelscript-wireshark /src-dev/steelscript-wireshark
COPY steelscript-cmdline /src-dev/steelscript-cmdline
COPY steelscript-scc /src-dev/steelscript-scc
COPY steelscript-appresponse /src-dev/steelscript-appresponse
COPY steelscript-netim /src-dev/steelscript-netim
COPY steelscript-client-accelerator-controller /src-dev/steelscript-client-accelerator-controller
COPY steelscript-steelhead /src-dev/steelscript-steelhead
COPY steelscript-packets /src-dev/steelscript-packets
RUN ls -lisa /src-dev
RUN set -ex \
&& buildDeps=' \
libpcap-dev \
' \
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN set -ex && \
pip install --no-cache-dir --upgrade pip && \
pip install --src /src \
-e /src-dev/steelscript \
-e /src-dev/steelscript-netprofiler \
-e /src-dev/steelscript-wireshark \
-e /src-dev/steelscript-cmdline \
-e /src-dev/steelscript-scc \
-e /src-dev/steelscript-appresponse \
-e /src-dev/steelscript-netim \
-e /src-dev/steelscript-client-accelerator-controller \
-e /src-dev/steelscript-steelhead \
-e /src-dev/steelscript-packets
RUN set -ex \
&& steel mkworkspace -d /steelscript/workspace
WORKDIR /steelscript/workspace
# Configure container startup
CMD ["/bin/bash"]