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

Get the sources when running the container.

This commit is contained in:
Rafa Couto
2016-12-22 03:31:16 +01:00
parent 603c371dcf
commit 0722046a26
3 changed files with 12 additions and 8 deletions
+1 -4
View File
@@ -16,10 +16,7 @@ ENV OPENWRT_RELEASE=v15.05.1 \
VOLUME ["$WORKDIR/src"]
ADD configs $WORKDIR/configs
ADD scripts/* $WORKDIR/scripts
RUN git clone --branch $OPENWRT_RELEASE \
https://github.com/openwrt/openwrt.git $WORKDIR/src
ADD scripts $WORKDIR/scripts
WORKDIR $WORKDIR/src