-
Notifications
You must be signed in to change notification settings - Fork 22
/
Dockerfile
56 lines (49 loc) · 856 Bytes
/
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
FROM debian:buster
RUN apt-get update && \
apt-get install -y \
autoconf-archive \
automake \
bc \
bison \
build-essential \
cpio \
curl \
docbook-xsl \
flex \
gawk \
gettext \
git \
libcurl4-openssl-dev \
libexpat1-dev \
libffi-dev \
libglib2.0-dev \
libncurses5-dev \
libtool \
libxml2-dev \
locales \
pkg-config \
po4a \
python-dev \
rsync \
sudo \
swig \
texinfo \
unzip \
vim \
wget \
xsltproc
RUN dpkg-reconfigure locales && \
locale-gen C.UTF-8 && \
/usr/sbin/update-locale LANG=C.UTF-8
RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
locale-gen
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN mkdir -p /opt/tomatoware && \
chmod 777 /opt/tomatoware
RUN useradd -ms /bin/bash tomato && \
echo "tomato:tomato" | chpasswd && \
adduser tomato sudo
USER tomato
WORKDIR /home/tomato