-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
70 lines (62 loc) · 1.45 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#Download base image ubuntu 18.04
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
ENV SYSTEMD_IGNORE_CHROOT yes
# Install dependencies
RUN dpkg --add-architecture amd64 \
&& apt-get update \
&& apt-get install -y \
locales \
python-minimal \
make \
gawk \
wget \
curl \
git-core \
diffstat \
unzip \
texinfo \
gcc-multilib \
g++-multilib \
libc6-dev-i386 \
build-essential \
libfontconfig1-dev \
libnss3-dev \
ninja-build \
chrpath \
socat \
gperf \
bison \
flex \
pkg-config \
libpng-dev \
libsdl1.2-dev \
xterm \
libstdc++6 \
openssh-client \
rsync \
cpio \
libelf-dev \
xz-utils \
libncurses5-dev \
libncursesw5-dev \
device-tree-compiler \
zlib1g-dev \
libssl-dev \
repo \
bc \
autoconf \
subversion \
#&& apt-get clean \
#&& rm -rf /var/lib/apt/lists/* \
&& echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config
RUN mkdir -p /usr/include/nss3 && ln -sf /usr/include/nss/* /usr/include/nss3
RUN ln -sf /usr/include/nspr/* /usr/include
RUN ln -sf /usr/lib/x86_64-linux-gnu/nss/* /usr/lib
#RUN sysctl -w fs.inotify.max_user_watches=1048576 && sysctl -p
RUN useradd -ms /bin/bash kalmanjaa
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
update-locale LANG=en_US.UTF-8
ENV LANG en_US.UTF-8