Commit 7767dd0b authored by Oliver Lippert's avatar Oliver Lippert
Browse files

update Dockerfile (debug)

Signed-off-by: Oliver Lippert's avatarOliver Lippert <>
parent d76fb96d
Pipeline #10075 passed with stage
in 28 seconds
......@@ -12,6 +12,7 @@ build:
- export DOCKER_TAG=$(echo $CI_COMMIT_REF_NAME | sed -e 's/master/latest/g')
- docker pull wordpress:$DOCKER_TAG
- export DOCKER_CMD=$(docker inspect -f '{{.Config.Cmd}}' wordpress:$DOCKER_TAG)
- echo $DOCKER_CMD
- export DOCKER_CMD=${DOCKER_CMD:1:-1}
- echo $DOCKER_CMD
- sed -i "s/wordpress:latest/$DOCKER_TAG123/g" Dockerfile
- sed -i "s/CMD apache2-foreground/CMD $DOCKER_CMD123/g" Dockerfile
- cat Dockerfile
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment