remove apt dependency
This commit is contained in:
@@ -3,7 +3,7 @@ from ubuntu:bionic as install
|
||||
# Install sudo and make, git since built-in is skipped
|
||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
||||
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
|
||||
ARG USER="test-user"
|
||||
|
||||
@@ -23,7 +23,6 @@ fi
|
||||
touch "$install_lock_file"
|
||||
|
||||
# Install all scripts by default
|
||||
|
||||
if [ -z "$TARGET" ]; then
|
||||
export TARGET="all"
|
||||
fi
|
||||
@@ -31,7 +30,7 @@ fi
|
||||
if [ "$TARGET" == "all" ]; then
|
||||
scripts=($install_dir/*.sh)
|
||||
else
|
||||
scripts=($install_dir/*-{apt,bash,$TARGET}.sh)
|
||||
scripts=($install_dir/*-{bash,$TARGET}.sh)
|
||||
fi
|
||||
for script in "${scripts[@]}"; do
|
||||
|
||||
|
||||
Reference in New Issue
Block a user