better build

pull/1/head
Jordan Sokolic 2020-02-18 10:01:45 +02:00
parent bc157280f2
commit e525e7077b
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,4 @@
FROM scratch
# ADD https://downloads.openwrt.org/releases/19.07.1/targets/x86/64/openwrt-19.07.1-x86-64-generic-rootfs.tar.gz \
ADD openwrt-19.07.1-x86-64-generic-rootfs.tar.gz /
RUN mkdir -p /var/lock
RUN opkg remove dnsmasq && \

View File

@ -3,6 +3,8 @@
include .env
build:
test -f openwrt-19.07.1-x86-64-generic-rootfs.tar.gz || \
wget -q https://downloads.openwrt.org/releases/19.07.1/targets/x86/64/openwrt-19.07.1-x86-64-generic-rootfs.tar.gz
docker build -t ${BUILD_TAG} .
run: