File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ ifndef path
1818endif
1919
2020ifneq ("$(wildcard ecs.php) ","")
21- ECS_DR := docker run -it --rm -v "$$PWD":/codebase -v "$$PWD/ecs.php":/app/ecs.php ${ECS_IMAGE} bash
21+ ECS_DR := docker run -it --user=${UID}:${GID} -- rm -v "$$PWD":/codebase -v "$$PWD/ecs.php":/app/ecs.php ${ECS_IMAGE} bash
2222else
23- ECS_DR := docker run -it --rm -v "$$PWD":/codebase ${ECS_IMAGE} bash
23+ ECS_DR := docker run -it --user=${UID}:${GID} -- rm -v "$$PWD":/codebase ${ECS_IMAGE} bash
2424endif
2525
2626GIT_DIR = $(shell git rev-parse --show-toplevel)
@@ -80,8 +80,11 @@ code.config.publish:
8080 @docker rm -v ${CONTAINER_ID}
8181 @echo ' ...........Published "ecs.php"'
8282
83+ # #
84+ # @command code.self-update Download latest code.mk file.
85+ # #
8386code.self-update :
8487 @echo ' ...........Downloading new code.mk file'
8588 @$(eval CODE_MK_PATH = $(shell find ./ -name code.mk) )
86- $(shell curl -o ${CODE_MK_PATH} ${CODE_MK_DOWNLOAD_URL})
89+ $(shell curl -o ${CODE_MK_PATH} ${CODE_MK_DOWNLOAD_URL} -k )
8790 @echo ' ...........Downloaded. Path: ${CODE_MK_PATH}'
You can’t perform that action at this time.
0 commit comments