Rename squashfs file, add .squashfs syntax
This commit is contained in:
parent
f759784652
commit
bc4d1af428
3 changed files with 20 additions and 7 deletions
10
Makefile
10
Makefile
|
|
@ -5,6 +5,11 @@ WEBSEED ?= http://10.2.2.1
|
|||
PACKER_DOCKER_IMAGE ?= labsync-packer
|
||||
MKTORRENT_DOCKER_IMAGE ?= labsync-mktorrent
|
||||
|
||||
CWD=$(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))))
|
||||
|
||||
.PHONY: default
|
||||
default: clean dockerimg images/debian-stretch.squashfs images/debian-stretch.torrent
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f images/*
|
||||
|
|
@ -15,7 +20,7 @@ dockerimg:
|
|||
docker build -t "$(PACKER_DOCKER_IMAGE)" --build-arg "PACKER_VERSION=$(PACKER_VERSION)" packer/docker
|
||||
docker build -t "$(MKTORRENT_DOCKER_IMAGE)" mktorrent
|
||||
|
||||
images/debian-stretch:
|
||||
images/debian-stretch.squashfs:
|
||||
docker run \
|
||||
--rm \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
|
|
@ -26,7 +31,6 @@ images/debian-stretch:
|
|||
"$(PACKER_DOCKER_IMAGE)" \
|
||||
debian-stretch
|
||||
|
||||
#images/debian-stretch.squashfs
|
||||
images/debian-stretch.torrent:
|
||||
docker run \
|
||||
--rm \
|
||||
|
|
@ -36,4 +40,4 @@ images/debian-stretch.torrent:
|
|||
-e "ANNOUNCE=$(ANNOUNCE)" \
|
||||
-e "WEBSEED=$(WEBSEED)" \
|
||||
"$(MKTORRENT_DOCKER_IMAGE)" \
|
||||
debian-stretch
|
||||
debian-stretch.squashfs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue