mirror of
https://github.com/rafacouto/docker-openwrt-builder.git
synced 2026-08-20 20:52:53 +00:00
Command to run the build script.
This commit is contained in:
+2
-4
@@ -9,9 +9,7 @@ RUN apt-get update \
|
||||
gawk subversion mercurial wget gettext \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV OPENWRT_RELEASE=v15.05.1 \
|
||||
OPENWRT_TARGET=rpi3 \
|
||||
WORKDIR=/usr/local/openwrt
|
||||
ENV WORKDIR=/usr/local/openwrt
|
||||
|
||||
VOLUME ["$WORKDIR/src"]
|
||||
|
||||
@@ -20,6 +18,6 @@ ADD scripts $WORKDIR/scripts
|
||||
|
||||
WORKDIR $WORKDIR/src
|
||||
|
||||
CMD ["$WORKDIR/scripts/build.sh", "$OPENWRT_TARGET"]
|
||||
CMD ["../scripts/build.sh"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user