Standardize apt-get, update formatting

This commit is contained in:
aptalca
2021-06-29 11:10:44 -04:00
parent b4956e94a0
commit 5349a37388
3 changed files with 59 additions and 55 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bash
if [ -f /usr/bin/apt ]; then
apt-get update
fi
-1
View File
@@ -7,7 +7,6 @@ chown -R ${ABC_USER}:${ABC_USER} /config/logs
echo "**** installing docker and docker compose ****" echo "**** installing docker and docker compose ****"
if [ -f /usr/bin/apt ]; then if [ -f /usr/bin/apt ]; then
DISTRONAME="ubuntu" DISTRONAME="ubuntu"
apt-get update && \
apt-get install -y \ apt-get install -y \
btrfs-progs \ btrfs-progs \
ca-certificates \ ca-certificates \