openwrt builder
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
18
_CI-CD/debian-stable-openwrt/Dockerfile
Normal file
18
_CI-CD/debian-stable-openwrt/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM docker.io/openjdk:jdk-buster
|
||||
|
||||
RUN sed -i 's@deb.debian.org@apt-cache.service.nr5/deb.debian.org@g' /etc/apt/sources.list; \
|
||||
sed -i 's@security.debian.org@apt-cache.service.nr5/security.debian.org@g' /etc/apt/sources.list; \
|
||||
apt update -y; \
|
||||
apt install -y build-essential ccache ecj fastjar file g++ gawk \
|
||||
gettext git java-propose-classpath libelf-dev libncurses5-dev \
|
||||
libncursesw5-dev libssl-dev python python2.7-dev python3 unzip wget \
|
||||
python3-distutils python3-setuptools rsync subversion swig time \
|
||||
xsltproc zlib1g-dev make distcc distcc-pump nfs-common; \
|
||||
apt-get remove --purge -y exim* && \
|
||||
apt-get autoremove --purge -y && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /var/cache/apt/* && \
|
||||
ln -sv /usr/lib/distcc-pump/lib/python3.7/site-packages/include_server /usr/lib/distcc-pump/include_server && \
|
||||
rm -v /etc/distcc/hosts && \
|
||||
sed -i s/NEED_STATD=$/NEED_STATD=yes/i /etc/default/nfs-common
|
||||
Reference in New Issue
Block a user