Skip to content

Commit

Permalink
docker scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
snmsts committed Dec 26, 2023
1 parent 4bc48b5 commit e51173b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ alpine-docker:
"ln -s base/lib lib;" \
"make install-alpine alpine-sbcl;'" \
| docker build -t $(DOCKER_IMAGE) $(DOCKER_BUILD_OPTION) -

alpine-docker-scratch:
$(MAKE) DOCKER_BUILD_OPTION=--no-cache alpine-docker

alpine: alpine-docker
docker run -w /tmp3 -v $$PWD:/tmp3/base --rm -it $(DOCKER_IMAGE) $(DOCKER_RUN_OPTION) /bin/ash -c \
"ln -s base/Makefile Makefile; \
Expand Down

0 comments on commit e51173b

Please sign in to comment.