mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
update openwrt
This commit is contained in:
parent
f1676587f6
commit
af04b93064
@ -30,19 +30,4 @@ RUN set -xe \
|
||||
USER openwrt
|
||||
WORKDIR /home/openwrt
|
||||
|
||||
ENV OPENWRT_VERSION=15.05.1
|
||||
ENV OPENWRT_URL=https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708
|
||||
ENV OPENWRT_IMG=OpenWrt-ImageBuilder-15.05.1-brcm2708-bcm2708.Linux-x86_64
|
||||
ENV OPENWRT_SDK=OpenWrt-SDK-15.05.1-brcm2708-bcm2708_gcc-4.8-linaro_uClibc-0.9.33.2_eabi.Linux-x86_64
|
||||
ENV OPENWRT_IMG_URL=${OPENWRT_URL}/${OPENWRT_IMG}.tar.bz2
|
||||
ENV OPENWRT_SDK_URL=${OPENWRT_URL}/${OPENWRT_SDK}.tar.bz2
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -sSL ${OPENWRT_IMG_URL} | tar xj \
|
||||
&& curl -sSL ${OPENWRT_SDK_URL} | tar xj \
|
||||
&& ln -s ${OPENWRT_IMG} img \
|
||||
&& ln -s ${OPENWRT_SDK} sdk \
|
||||
&& cd sdk \
|
||||
&& ./scripts/feeds update -a
|
||||
|
||||
CMD ["bash"]
|
||||
|
21
openwrt/Dockerfile.bcm2708
Normal file
21
openwrt/Dockerfile.bcm2708
Normal file
@ -0,0 +1,21 @@
|
||||
#
|
||||
# Dockerfile for openwrt:bcm2708
|
||||
#
|
||||
|
||||
FROM vimagick/openwrt
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV OPENWRT_VERSION=15.05.1
|
||||
ENV OPENWRT_URL=https://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708
|
||||
ENV OPENWRT_IMG=OpenWrt-ImageBuilder-15.05.1-brcm2708-bcm2708.Linux-x86_64
|
||||
ENV OPENWRT_SDK=OpenWrt-SDK-15.05.1-brcm2708-bcm2708_gcc-4.8-linaro_uClibc-0.9.33.2_eabi.Linux-x86_64
|
||||
ENV OPENWRT_IMG_URL=${OPENWRT_URL}/${OPENWRT_IMG}.tar.bz2
|
||||
ENV OPENWRT_SDK_URL=${OPENWRT_URL}/${OPENWRT_SDK}.tar.bz2
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -sSL ${OPENWRT_IMG_URL} | tar xj \
|
||||
&& curl -sSL ${OPENWRT_SDK_URL} | tar xj \
|
||||
&& ln -s ${OPENWRT_IMG} img \
|
||||
&& ln -s ${OPENWRT_SDK} sdk \
|
||||
&& cd sdk \
|
||||
&& ./scripts/feeds update -a
|
21
openwrt/Dockerfile.bcm2710
Normal file
21
openwrt/Dockerfile.bcm2710
Normal file
@ -0,0 +1,21 @@
|
||||
#
|
||||
# Dockerfile for openwrt:bcm2710
|
||||
#
|
||||
|
||||
FROM vimagick/openwrt
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV OPENWRT_VERSION=trunk
|
||||
ENV OPENWRT_URL=https://downloads.lede-project.org/snapshots/targets/brcm2708/bcm2710
|
||||
ENV OPENWRT_IMG=lede-imagebuilder-brcm2708-bcm2710.Linux-x86_64
|
||||
ENV OPENWRT_SDK=lede-sdk-brcm2708-bcm2710_gcc-5.4.0_musl-1.1.15_eabi.Linux-x86_64
|
||||
ENV OPENWRT_IMG_URL=${OPENWRT_URL}/${OPENWRT_IMG}.tar.bz2
|
||||
ENV OPENWRT_SDK_URL=${OPENWRT_URL}/${OPENWRT_SDK}.tar.bz2
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -sSL ${OPENWRT_IMG_URL} | tar xj \
|
||||
&& curl -sSL ${OPENWRT_SDK_URL} | tar xj \
|
||||
&& ln -s ${OPENWRT_IMG} img \
|
||||
&& ln -s ${OPENWRT_SDK} sdk \
|
||||
&& cd sdk \
|
||||
&& ./scripts/feeds update -a
|
@ -1,35 +1,10 @@
|
||||
#
|
||||
# Dockerfile for openwrt
|
||||
# Dockerfile for openwrt:mt7628
|
||||
#
|
||||
|
||||
FROM debian:jessie
|
||||
FROM vimagick/openwrt
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y build-essential \
|
||||
curl \
|
||||
file \
|
||||
gawk \
|
||||
gettext \
|
||||
git \
|
||||
libncurses5-dev \
|
||||
libssl-dev \
|
||||
mercurial \
|
||||
python \
|
||||
subversion \
|
||||
sudo \
|
||||
tree \
|
||||
unzip \
|
||||
wget \
|
||||
xsltproc \
|
||||
zlib1g-dev \
|
||||
&& useradd -m openwrt \
|
||||
&& echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
|
||||
|
||||
USER openwrt
|
||||
WORKDIR /home/openwrt
|
||||
|
||||
ENV OPENWRT_VERSION=trunk
|
||||
ENV OPENWRT_URL=https://downloads.openwrt.org/snapshots/trunk/ramips/mt7628
|
||||
ENV OPENWRT_IMG=OpenWrt-ImageBuilder-ramips-mt7628.Linux-x86_64
|
||||
@ -44,5 +19,3 @@ RUN set -xe \
|
||||
&& ln -s ${OPENWRT_SDK} sdk \
|
||||
&& cd sdk \
|
||||
&& ./scripts/feeds update -a
|
||||
|
||||
CMD ["bash"]
|
||||
|
@ -1,7 +1,7 @@
|
||||
openwrt:
|
||||
image: vimagick/openwrt
|
||||
container_name: openwrt
|
||||
image: vimagick/openwrt:bcm2710
|
||||
container_name: openwrt_bcm2710
|
||||
command: sleep inf
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./data/bcm2710:/data
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user