remove apt dependency

This commit is contained in:
Andrejus Kostarevas
2020-04-15 14:16:27 +01:00
parent 9ee05c94cf
commit 0bd67d48ae
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ from ubuntu:bionic as install
# Install sudo and make, git since built-in is skipped # Install sudo and make, git since built-in is skipped
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get -qqy update \ RUN apt-get -qqy update \
&& apt-get -qqy install sudo git make && apt-get -qqy install curl git make software-properties-common sudo
# Create user with sudo priviledge # Create user with sudo priviledge
ARG USER="test-user" ARG USER="test-user"

View File

@@ -23,7 +23,6 @@ fi
touch "$install_lock_file" touch "$install_lock_file"
# Install all scripts by default # Install all scripts by default
if [ -z "$TARGET" ]; then if [ -z "$TARGET" ]; then
export TARGET="all" export TARGET="all"
fi fi
@@ -31,7 +30,7 @@ fi
if [ "$TARGET" == "all" ]; then if [ "$TARGET" == "all" ]; then
scripts=($install_dir/*.sh) scripts=($install_dir/*.sh)
else else
scripts=($install_dir/*-{apt,bash,$TARGET}.sh) scripts=($install_dir/*-{bash,$TARGET}.sh)
fi fi
for script in "${scripts[@]}"; do for script in "${scripts[@]}"; do