Fossil SCM

Added "container-clean" target to cleanup after the other container-* targets.

wyoung 2022-11-30 14:29 trunk
Commit e119d5983620df4cf6be104ce1a297399fb5d77e5a89c842a9d5aa5730e23f5c
1 file changed +5
--- Makefile.in
+++ Makefile.in
@@ -145,5 +145,10 @@
145145
--cap-drop SETPCAP \
146146
--detach --publish 8080:8080 \
147147
$(DRFLAGS) fossil:@FOSSIL_CI_PFX@
148148
@sleep 1 # decrease likelihood of logging race condition
149149
docker container logs fossil-@FOSSIL_CI_PFX@
150
+
151
+container-clean:
152
+ -docker container kill fossil-@FOSSIL_CI_PFX@
153
+ -docker container rm fossil-@FOSSIL_CI_PFX@
154
+ -docker image rm fossil:@FOSSIL_CI_PFX@
150155
--- Makefile.in
+++ Makefile.in
@@ -145,5 +145,10 @@
145 --cap-drop SETPCAP \
146 --detach --publish 8080:8080 \
147 $(DRFLAGS) fossil:@FOSSIL_CI_PFX@
148 @sleep 1 # decrease likelihood of logging race condition
149 docker container logs fossil-@FOSSIL_CI_PFX@
 
 
 
 
 
150
--- Makefile.in
+++ Makefile.in
@@ -145,5 +145,10 @@
145 --cap-drop SETPCAP \
146 --detach --publish 8080:8080 \
147 $(DRFLAGS) fossil:@FOSSIL_CI_PFX@
148 @sleep 1 # decrease likelihood of logging race condition
149 docker container logs fossil-@FOSSIL_CI_PFX@
150
151 container-clean:
152 -docker container kill fossil-@FOSSIL_CI_PFX@
153 -docker container rm fossil-@FOSSIL_CI_PFX@
154 -docker image rm fossil:@FOSSIL_CI_PFX@
155

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button