add other OS for docker

This commit is contained in:
Sukchan Lee 2018-02-21 23:20:48 +09:00
parent f5582c97b5
commit c8a65b6b18
19 changed files with 157 additions and 17 deletions

View file

@ -1,27 +0,0 @@
ARG tag=latest
ARG username=acetcom
FROM ${username}/ubuntu-${tag}-base
MAINTAINER Sukchan Lee <acetcom@gmail.com>
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
debhelper \
devscripts \
dh-autoreconf \
dh-systemd \
fakeroot \
cscope \
vim \
sudo \
iputils-ping \
net-tools && \
apt-get clean
ARG username=acetcom
RUN useradd -m --uid=1000 ${username} && \
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
chmod 0440 /etc/sudoers.d/${username}
WORKDIR /home/${username}