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:
+1
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user