david/container-dev
Archived
1
0

macos compatibility

This commit is contained in:
david 2020-11-07 21:18:10 +01:00
parent 953fc28ac5
commit de58ea08a4

View File

@ -16,6 +16,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y sudo vim git zsh
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 && \
mkdir /Users && ln -s /home/david /Users/david && \
apt-get install -y iproute2 dnsutils iputils-ping
USER ${USERNAME}