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

@ -4,7 +4,7 @@ FROM ${dist}:${tag}
MAINTAINER Sukchan Lee <acetcom@gmail.com>
RUN apt-get update && \
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
autoconf \

View file

@ -5,7 +5,7 @@ FROM ${username}/${dist}-${tag}-build
MAINTAINER Sukchan Lee <acetcom@gmail.com>
RUN apt-get update && \
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
debhelper \
@ -21,7 +21,7 @@ RUN apt-get update && \
apt-get clean
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}