Skip to content

Commit

Permalink
use make debian builder
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 23, 2023
1 parent 5780daa commit 40b162a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
builder:
docker build . -f ./Dockerfile.debian.builder --build-arg DISTRO=$(DISTRO) --build-arg BUILDID=$(BUILDID) -t screamshotter-builder
mkdir -p dist
docker run --rm screamshotter-builder tar -C /dpkg -c . | tar -C dist -xv
build_deb:
docker pull $(DISTRO)
docker build -t screamshotter_deb -f ./Dockerfile.debian.builder --build-arg DISTRO=$(DISTRO) .
docker run --name screamshotter_deb_run -t screamshotter_deb bash -c "exit"
docker cp screamshotter_deb_run:/dpkg ./
docker stop screamshotter_deb_run
docker rm screamshotter_deb_run

0 comments on commit 40b162a

Please sign in to comment.