Change the docker image from alpine to debian in Makefile (#15132)
Why I did it For security and consistency consideration, change the docker image from alpine to Debian in Makefile Work item tracking Microsoft ADO (number only): 23077660 How I did it change the docker image from alpine to Debian in Makefile
This commit is contained in:
parent
6cf6c59c8c
commit
d5abda649a
@ -196,7 +196,7 @@ endif
|
||||
DOCKER_LOCKFILE_SAVE := $(DOCKER_LOCKDIR)/docker_save.lock
|
||||
$(shell mkdir -m 0777 -p $(DOCKER_LOCKDIR))
|
||||
$(shell [ -f $(DOCKER_LOCKFILE_SAVE) ] || (touch $(DOCKER_LOCKFILE_SAVE) && chmod 0777 $(DOCKER_LOCKFILE_SAVE)))
|
||||
$(docker run --rm -v $(DOCKER_ROOT)\:/mount alpine sh -c 'rm -rf /mount/')
|
||||
$(shell [ -d $(DOCKER_ROOT) ] && docker run --rm -v $(DOCKER_ROOT)\:/mount debian sh -c 'rm -rf /mount/*')
|
||||
$(mkdir -p $(DOCKER_ROOT))
|
||||
|
||||
ifeq ($(DOCKER_BUILDER_MOUNT),)
|
||||
|
Loading…
Reference in New Issue
Block a user