-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
58 lines (50 loc) · 963 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
57
58
# https://github.com/openwrt/buildbot/blob/master/docker/buildworker/Dockerfile
FROM debian:11
MAINTAINER Entware team
ARG DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update && \
apt-get install -y \
build-essential \
ccache \
curl \
gawk \
g++-multilib \
gcc-multilib \
genisoimage \
git-core \
gosu \
libdw-dev \
libelf-dev \
libncurses5-dev \
libssl-dev \
locales \
mc \
pv \
pwgen \
python \
python3 \
python3-pip \
qemu-utils \
rsync \
signify-openbsd \
subversion \
sudo \
swig \
unzip \
wget \
zstd && \
apt-get clean && \
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
RUN pip3 install -U pip
RUN pip3 install \
pyelftools \
pyOpenSSL \
service_identity
ENV LANG=en_US.utf8
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN useradd -c "OpenWrt Builder" -m -d /home/me -G sudo -s /bin/bash me
USER me
WORKDIR /home/me
ENV HOME /home/me
#ENTRYPOINT /bin/bash