From 26445b8d6d3dbd0da68a2b692595d8ea556413df Mon Sep 17 00:00:00 2001 From: aptalca Date: Wed, 16 Jun 2021 17:57:25 -0400 Subject: [PATCH] standardize apt-get --- root/etc/cont-init.d/95-apt-get | 3 +++ root/etc/cont-init.d/98-python2 | 12 ++++++------ 2 files changed, 9 insertions(+), 6 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-python2 b/root/etc/cont-init.d/98-python2 index 3b1fe6e..58b43bc 100644 --- a/root/etc/cont-init.d/98-python2 +++ b/root/etc/cont-init.d/98-python2 @@ -1,9 +1,9 @@ #!/usr/bin/with-contenv bash echo "**** installing python2 dev environment ****" -apt-get update && apt-get install -y \ - build-essential \ - libssl-dev \ - libffi-dev \ - python-dev \ - python-pip +apt-get install -y \ + build-essential \ + libssl-dev \ + libffi-dev \ + python-dev \ + python-pip