forked from openwrt/asu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile.ib
47 lines (42 loc) · 978 Bytes
/
Containerfile.ib
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
FROM debian:11
LABEL maintainer="Tianling Shen <[email protected]>"
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 \
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/buildbot -G sudo -s /bin/bash buildbot
USER buildbot
WORKDIR /builder