From fa1928b544b82a65f8bf206f4750e4962f804c34 Mon Sep 17 00:00:00 2001 From: aptalca Date: Wed, 16 Jun 2021 18:08:15 -0400 Subject: [PATCH] standardize apt-get --- root/etc/cont-init.d/95-apt-get | 3 +++ root/etc/cont-init.d/98-python3 | 14 +++++++------- 2 files changed, 10 insertions(+), 7 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-python3 b/root/etc/cont-init.d/98-python3 index 4216fef..e7e5327 100644 --- a/root/etc/cont-init.d/98-python3 +++ b/root/etc/cont-init.d/98-python3 @@ -1,10 +1,10 @@ #!/usr/bin/with-contenv bash echo "**** installing python3 dev environment ****" -apt-get update && apt-get install -y \ - build-essential \ - libssl-dev \ - libffi-dev \ - python3-dev \ - python3-pip \ - python3-venv +apt-get install -y \ + build-essential \ + libssl-dev \ + libffi-dev \ + python3-dev \ + python3-pip \ + python3-venv