This commit is contained in:
parent
6d10322f4d
commit
f248913ce8
2 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,7 @@ ARG DUMB_INIT_VERSION
|
|||
COPY --from=toolbuilder /build/build /usr/local/sbin/gosu
|
||||
COPY --from=toolbuilder /dumb-init /usr/local/sbin/dumb-init
|
||||
COPY apt-install /bin/apt-install
|
||||
COPY checkupdates /bin/checkupdates
|
||||
CMD "bash"
|
||||
LABEL version.debian=buster \
|
||||
version.gosu=$GOSU_VERSION \
|
||||
|
|
5
checkupdates
Executable file
5
checkupdates
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
apt-get -qy update > /dev/null
|
||||
apt-get -o Debug::NoLocking=yes -s dist-upgrade -y | awk '/^Inst/ {print $2 " " $5}' | wc -l
|
||||
rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in a new issue