mirror of
https://github.com/valitydev/image-riak-base.git
synced 2024-11-06 10:15:24 +00:00
Makefile: docker run command syntax has been updated.
This commit is contained in:
parent
cbe5595afb
commit
3711599b57
4
Makefile
4
Makefile
@ -28,8 +28,8 @@ repos: $(REPOS_TARGET)
|
||||
.state: .latest-stage3 $(PACKER) $(REPOS_TARGET) packer.json files/packer.sh files/portage.make.conf
|
||||
$(eval TAG := $(shell date +%s)-$(shell git rev-parse HEAD))
|
||||
$(eval STAGE3 := $(shell cat .latest-stage3))
|
||||
$(DOCKER) run -v `pwd`:/tmp/pwd busybox /bin/sh -c \
|
||||
--workdir /tmp/repack "tar xjf /tmp/pwd/$(STAGE3); tar cjf /tmp/pwd/$(STAGE3).repack ."
|
||||
$(DOCKER) run -v `pwd`:/tmp/pwd -w /tmp/repack busybox /bin/sh -c \
|
||||
"tar xjf /tmp/pwd/$(STAGE3); tar cjf /tmp/pwd/$(STAGE3).repack ."
|
||||
$(DOCKER) import $(STAGE3).repack "$(REGISTRY)/$(ORG_NAME)/stage3-amd64-hardened-nomultilib"
|
||||
$(PACKER) build -var 'image-tag=$(TAG)' packer.json
|
||||
printf "FROM $(REGISTRY)/$(ORG_NAME)/bootstrap:$(TAG)\n \
|
||||
|
Loading…
Reference in New Issue
Block a user