update Dockerfile

This commit is contained in:
Sukchan Lee 2018-02-21 23:55:44 +09:00
parent d74afc5bc7
commit e2bb5706fa
8 changed files with 18 additions and 17 deletions

View file

@ -5,7 +5,7 @@ FROM ${username}/${dist}-${tag}-build
MAINTAINER Sukchan Lee <acetcom@gmail.com>
RUN dnf -y install \
RUN dnf -y install \
cscope \
vim \
sudo \
@ -13,7 +13,7 @@ RUN dnf -y install \
net-tools
ARG username=acetcom
RUN useradd -m --uid=1000 ${username} && \
RUN useradd -m --uid=1000 ${username} && \
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
chmod 0440 /etc/sudoers.d/${username}