1
0
mirror of https://github.com/rafacouto/docker-openwrt-builder.git synced 2026-08-11 16:33:04 +00:00

Compilation of openwrt.

This commit is contained in:
Rafa Couto
2016-12-22 05:26:56 +01:00
parent d711025c34
commit 079aa0ed8e
3 changed files with 14 additions and 17 deletions
+4 -4
View File
@@ -9,15 +9,15 @@ RUN apt-get update \
gawk subversion mercurial wget gettext \
&& rm -rf /var/lib/apt/lists/*
ENV WORKDIR=/usr/local/openwrt
ENV WORKDIR="/usr/local/openwrt" OPENWRT_RELEASE="v15.05.1"
WORKDIR $WORKDIR
VOLUME ["$WORKDIR/src"]
ADD configs $WORKDIR/configs
ADD scripts $WORKDIR/scripts
WORKDIR $WORKDIR/src
CMD ["../scripts/build.sh"]
CMD ["scripts/build.sh"]