Debian Codegraph @

support/docker/ubuntu/bionic/dev/Dockerfile

raw
1 ARG dist=ubuntu
2 ARG tag=latest
3 ARG username=acetcom
4 FROM ${username}/${dist}-${tag}-nextepc-base
5
6 MAINTAINER Sukchan Lee <[email protected]>
7
8 RUN apt-get update && \
9 apt-get upgrade -y && \
10 DEBIAN_FRONTEND=noninteractive \
11 apt-get install -y --no-install-recommends \
12 debhelper \
13 devscripts \
14 dput \
15 dh-autoreconf \
16 dh-systemd \
17 manpages-dev \
18 fakeroot \
19 cscope \
20 vim \
21 sudo \
22 iputils-ping \
23 wireshark \
24 net-tools && \
25 apt-get clean
26
27 COPY setup.sh /root
28
29 ARG username=acetcom
30 RUN useradd -m --uid=1000 ${username} && \
31 echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
32 chmod 0440 /etc/sudoers.d/${username}
33
34 WORKDIR /home/${username}