File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# The developer stage is used as a devcontainer including dev versions
22# of the build dependencies
33FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
4- RUN apt-get update -y && apt-get install -y --no-install-recommends \
5- libevent-dev \
6- libreadline-dev{% if docker %}
4+
5+ # Add any system dependencies for the developer/build environment here
6+ RUN apt-get update && apt-get install -y --no-install-recommends \
7+ graphviz \
8+ && rm -rf /var/lib/apt/lists/*
79
810# The build stage makes some assets using the developer tools
911FROM developer AS build
@@ -26,10 +28,11 @@ RUN --mount=type=cache,target=/root/.cache/uv \
2628# The runtime stage installs runtime deps then copies in built assets
2729# This time we remove the apt lists to save disk space
2830FROM ubuntu:noble as runtime
29- RUN apt-get update -y && apt-get install -y --no-install-recommends \
30- libevent \
31- libreadline \
32- && rm -rf /var/lib/apt/lists/*
31+
32+ # Add apt-get system dependecies for runtime here if needed
33+ {# RUN apt-get update && apt-get install -y --no-install-recommends \
34+ xxx \
35+ && rm -rf /var/lib/apt/lists/* #}
3336COPY --from=build /assets /
3437
3538# We need to keep the venv at the same absolute path as in the build stage
You can’t perform that action at this time.
0 commit comments