FROM builder USER buildbot WORKDIR /builder RUN git clone https://git.laboratoryb.org/hurricos/openwrt-mirror --branch master openwrt ENV openwrt_dir=/builder/openwrt RUN cd ${openwrt_dir} && ./scripts/feeds update -a && ./scripts/feeds install -a COPY openwrt-builder-entry.sh /openwrt-builder-entry.sh ENTRYPOINT [ "/openwrt-builder-entry.sh" ]