From f221aa137b45caaa980fa3764089c6274990f008 Mon Sep 17 00:00:00 2001 From: aptalca Date: Tue, 21 Sep 2021 12:11:16 -0400 Subject: [PATCH] standardize apt-get --- root/etc/cont-init.d/95-apt-get | 3 +++ root/etc/cont-init.d/98-shellcheck | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 root/etc/cont-init.d/95-apt-get diff --git a/root/etc/cont-init.d/95-apt-get b/root/etc/cont-init.d/95-apt-get new file mode 100644 index 0000000..5b1a21c --- /dev/null +++ b/root/etc/cont-init.d/95-apt-get @@ -0,0 +1,3 @@ +#!/usr/bin/with-contenv bash + +apt-get update diff --git a/root/etc/cont-init.d/98-shellcheck b/root/etc/cont-init.d/98-shellcheck index d6d1df3..a2d0d10 100644 --- a/root/etc/cont-init.d/98-shellcheck +++ b/root/etc/cont-init.d/98-shellcheck @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash echo "**** installing shellcheck ****" -apt-get update && apt-get install -y \ - shellcheck +apt-get install -y \ + shellcheck