diff --git a/Dockerfile b/Dockerfile index 547201e..7b238a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,11 +11,12 @@ ENV TIMEZONE=Europe/Vienna VOLUME [ "/home/${USERNAME}" ] -RUN apt-get update && apt-get upgrade -y && apt-get install -y sudo vim git zsh curl wget iproute2 dnsutils && \ +RUN apt-get update && apt-get upgrade -y && apt-get install -y sudo vim git zsh curl wget && \ groupadd -g ${GROUP_ID} ${USERNAME} && \ useradd -u ${USER_ID} -g ${GROUP_ID} -M -d /home/${USERNAME} -s /bin/zsh ${USERNAME} && \ echo "${USERNAME} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ - ln -fs /usr/share/zoneinfo/${TIMEZONE} /etc/localtime + ln -fs /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && \ + apt-get install -y iproute2 dnsutils iputils-ping USER ${USERNAME} WORKDIR /home/${USERNAME}