forked from chirpstack/chirpstack-gateway-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-devel
37 lines (33 loc) · 811 Bytes
/
Dockerfile-devel
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
# Source:
# https://openwrt.org/docs/guide-user/virtualization/obtain.firmware.docker
FROM docker.io/debian:stable-slim
ENV GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
WORKDIR /workdir
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests --yes \
'build-essential' \
'ca-certificates' \
'clang' \
'flex' \
'bison' \
'g++' \
'gawk' \
'gcc-multilib' \
'g++-multilib' \
'gettext' \
'git' \
'libncurses5-dev' \
'libssl-dev' \
'python3-distutils' \
'rsync' \
'unzip' \
'zlib1g-dev' \
'file' \
'wget' \
'curl' \
'quilt' \
'nano' \
&& \
rm -f -r '/var/lib/apt/' && \
rm -f -r '/var/cache/apt/' && \
useradd -m -s '/bin/bash' -U 'buildbot'
USER buildbot