macos compatibility
This commit is contained in:
parent
953fc28ac5
commit
de58ea08a4
|
@ -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} && \
|
useradd -u ${USER_ID} -g ${GROUP_ID} -M -d /home/${USERNAME} -s /bin/zsh ${USERNAME} && \
|
||||||
echo "${USERNAME} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
echo "${USERNAME} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
ln -fs /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && \
|
ln -fs /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && \
|
||||||
|
mkdir /Users && ln -s /home/david /Users/david && \
|
||||||
apt-get install -y iproute2 dnsutils iputils-ping
|
apt-get install -y iproute2 dnsutils iputils-ping
|
||||||
|
|
||||||
USER ${USERNAME}
|
USER ${USERNAME}
|
||||||
|
|
Reference in New Issue