Skip to content

Commit 8436b77

Browse files
authored
Tidy README.md (#16)
1 parent 603392d commit 8436b77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,19 @@ For instance:
5858
FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
5959
RUN 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
6465
FROM developer AS build
6566
RUN 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
6969
FROM ubuntu:noble as runtime
7070
RUN 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
7474
COPY --from=build /assets /
7575
```
7676

0 commit comments

Comments
 (0)