File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
1
FROM python:3.12-slim
2
2
3
+ WORKDIR /src
3
4
EXPOSE 8126
4
5
5
6
ENV SNAPSHOT_CI=1
6
7
ENV LOG_LEVEL=INFO
7
8
ENV SNAPSHOT_DIR=/snapshots
9
+ ENV VCR_CASSETTES_DIRECTORY=/vcr-cassettes
8
10
9
- RUN apt update && apt install -y git curl
11
+ RUN apt update && \
12
+ apt install -y --no-install-recommends git curl runc containerd && \
13
+ rm -rf /var/lib/apt/lists/*
10
14
11
- ADD vcr-cassettes ./vcr-cassettes
12
- ENV VCR_CASSETTES_DIRECTORY=/vcr-cassettes
15
+ ADD vcr-cassettes /vcr-cassettes
13
16
14
- RUN mkdir -p /src
15
- WORKDIR /src
16
17
# Add only necessary files to speed up development builds
17
18
ADD README.md setup.py test_deps.txt ./
18
19
ADD ddapm_test_agent ./ddapm_test_agent
19
20
ADD .git ./.git
20
- RUN pip install /src
21
-
22
- # Cleanup
23
- RUN apt remove -y git
24
- RUN rm -rf /var/lib/apt/lists/* /root/.cache/pip /tmp/* /var/tmp/* /src
21
+ RUN pip install /src && \
22
+ rm -rf /root/.cache/pip
25
23
26
24
CMD ["ddapm-test-agent" ]
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Ensures ``runc`` and ``containerd`` are installed in the docker image.
You can’t perform that action at this time.
0 commit comments