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
|
# 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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user