-
Notifications
You must be signed in to change notification settings - Fork 10
/
Dockerfile.base
43 lines (41 loc) · 940 Bytes
/
Dockerfile.base
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
FROM debian:11
RUN apt-get update -qq && \
apt-get install -y \
build-essential \
ccache \
clang \
cpio \
curl \
file \
g++-multilib \
gawk \
gcc-multilib \
genisoimage \
gettext \
git \
libdw-dev \
libelf-dev \
libncurses5-dev \
locales \
pv \
pwgen \
python \
python3 \
python3-pip \
python3-cryptography \
python3-pyelftools \
qemu-utils \
rsync \
signify-openbsd \
subversion \
sudo \
swig \
unzip \
wget \
zlib1g-dev \
zstd \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN useradd -c "ImmortalWrt Builder" -m -d /home/build -G sudo -s /bin/bash build