File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,19 +58,19 @@ For instance:
5858FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
5959RUN apt-get update -y && apt-get install -y --no-install-recommends \
6060 libevent-dev \
61- libreadline-dev
61+ libreadline-dev \
62+ && apt-get dist-clean
6263
6364# The build stage makes some assets using the developer tools
6465FROM developer AS build
6566RUN my-build-script.sh /assets
6667
6768# The runtime stage installs runtime deps then copies in built assets
68- # This time we remove the apt lists to save disk space
6969FROM ubuntu:noble as runtime
7070RUN apt-get update -y && apt-get install -y --no-install-recommends \
7171 libevent \
7272 libreadline \
73- && rm -rf /var/lib/apt/lists/*
73+ && apt-get dist-clean
7474COPY --from=build /assets /
7575```
7676
You can’t perform that action at this time.
0 commit comments