Ignore cache for Docker builds

This commit is contained in:
Joseph C. Lehner 2024-09-30 16:47:42 +02:00
parent 30f45072b9
commit e6767ecbad
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,9 @@ WORKDIR /usr/src/nmrpflash
RUN wget -O npcap-sdk.zip https://npcap.com/dist/npcap-sdk-${NPCAP_VERSION}.zip
RUN unzip npcap-sdk.zip -d Npcap
RUN make release/linux-appimage
ARG CACHEBUST=1
RUN make clean
RUN make release/linux-appimage
RUN make MINGW=i686-w64-mingw32- release release/win32

View file

@ -115,7 +115,7 @@ nmrpflash.ico: nmrpflash.svg
convert -background transparent -define icon:auto-resize=256,64,48,32,16 $< $@
build-release-with-docker:
docker build -t nmrpflash .
docker build --build-arg CACHEBUST=$(shell date +%s) --progress=plain -t nmrpflash .
docker create --name dummy nmrpflash
docker cp dummy:/usr/src/nmrpflash/nmrpflash-$(VERSION)-linux-$(ARCH).zip .
docker cp dummy:/usr/src/nmrpflash/nmrpflash-$(VERSION)-win32.zip .