/
Dockerfile
19 lines (16 loc) · 946 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ubuntu:18.04
RUN export DEBIAN_FRONTEND=noninteractive; \
export DEBCONF_NONINTERACTIVE_SEEN=true; \
echo 'tzdata tzdata/Areas select Etc' | debconf-set-selections; \
echo 'tzdata tzdata/Zones/Etc select UTC' | debconf-set-selections; \
apt-get update &&\
apt-get install -qqy --no-install-recommends build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo curl ca-certificates ssh-client wget curl openssl file screen && \
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-get install -qqy nodejs npm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
useradd -m user
USER user
WORKDIR /home/user
# set dummy git config
RUN git config --global user.name "user" && git config --global user.email "user@example.com"