branch: externals/hyperbole commit 538434e882798dc76c914ce01ae7f5070d628385 Author: Mats Lidell <mats.lid...@lidells.se> Commit: GitHub <nore...@github.com>
Clean up test containers and volumes (#585) --- ChangeLog | 5 +++++ Makefile | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a4c5c60c8..75ff4808a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-09-07 Mats Lidell <ma...@gnu.org> + +* Makefile (docker, docker-run): Use "--rm" option so the short lived + container and its volumes are removed on exit. + 2024-09-01 Bob Weiner <r...@gnu.org> * man/dir (File): Narrow width to better fit with out Info entries. diff --git a/Makefile b/Makefile index 2dcac9dcfb..1a1dbf9943 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Author: Bob Weiner # # Orig-Date: 15-Jun-94 at 03:42:38 -# Last-Mod: 24-Aug-24 at 10:41:04 by Mats Lidell +# Last-Mod: 7-Sep-24 at 16:29:00 by Mats Lidell # # Copyright (C) 1994-2023 Free Software Foundation, Inc. # See the file HY-COPY for license information. @@ -609,10 +609,10 @@ DOCKER_VERSION = master-ci endif docker: docker-update - docker run -v $$(pwd):/hypb -v /tmp:/hypb-tmp -it silex/emacs:${DOCKER_VERSION} bash -c "cp -a /hypb /hyperbole && make -C hyperbole ${DOCKER_TARGETS}" + docker run -v $$(pwd):/hypb -v /tmp:/hypb-tmp -it --rm silex/emacs:${DOCKER_VERSION} bash -c "cp -a /hypb /hyperbole && make -C hyperbole ${DOCKER_TARGETS}" docker-run: docker-update - docker run -v $$(pwd):/hypb -v /tmp:/hypb-tmp -it silex/emacs:${DOCKER_VERSION} + docker run -v $$(pwd):/hypb -v /tmp:/hypb-tmp -it --rm silex/emacs:${DOCKER_VERSION} # Update the docker image for the specified version of Emacs docker-update: