From dbce366e5bab3d06fb5c8521d90f5f26f722fc64 Mon Sep 17 00:00:00 2001 From: aptalca Date: Wed, 16 Jun 2021 17:38:07 -0400 Subject: [PATCH] standardize apt-get --- root/etc/cont-init.d/95-apt-get | 3 +++ root/etc/cont-init.d/98-php | 6 +++--- 2 files changed, 6 insertions(+), 3 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..3a725ea --- /dev/null +++ b/root/etc/cont-init.d/95-apt-get @@ -0,0 +1,3 @@ +#!/usr/bin/with-contenv bash + +apt-get update \ No newline at end of file diff --git a/root/etc/cont-init.d/98-php b/root/etc/cont-init.d/98-php index ac8da54..ecc4b16 100644 --- a/root/etc/cont-init.d/98-php +++ b/root/etc/cont-init.d/98-php @@ -1,6 +1,6 @@ #!/usr/bin/with-contenv bash echo "**** installing php and composer ****" -apt-get update && apt-get install -y \ - composer \ - php7.2 +apt-get install -y \ + composer \ + php7.2