Skip to content

Commit 1b1ef47

Browse files
committed
Give help how to generate the packages.list
1 parent 9ae1a27 commit 1b1ef47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/container/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ ENV DEBIAN_FRONTEND=noninteractive \
5050
TZ=UTC \
5151
TERM=xterm-256color
5252

53-
ADD config/container/sources.list /etc/apt/sources.list
53+
## The list can be generated by: dpkg -l | awk '{ if ($1 == "ii") print $2 "=" $3 }'
5454
ADD config/container/packages.list /etc/apt/packages.list
55+
56+
ADD config/container/sources.list /etc/apt/sources.list
5557
RUN apt update -y \
5658
&& apt install -y $(cat /etc/apt/packages.list) \
5759
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

0 commit comments

Comments
 (0)