Commit 5d6d371c authored by Oliver Lippert's avatar Oliver Lippert
Browse files

update Dockerfile

Signed-off-by: Oliver Lippert's avatarOliver Lippert <>
parent dfcc7d88
Pipeline #10077 passed with stage
in 26 seconds
......@@ -13,6 +13,6 @@ build:
- docker pull wordpress:$DOCKER_TAG
- export DOCKER_CMD=$(docker inspect -f '{{.Config.Cmd}}' wordpress:$DOCKER_TAG)
- export DOCKER_CMD=${DOCKER_CMD:1:-1}
- sed -i "s/wordpress:latest/$DOCKER_TAG 123/g" Dockerfile
- sed -i "s/CMD apache2-foreground/CMD $DOCKER_CMD 123/g" Dockerfile
- sed -i "s/:latest/:$DOCKER_TAG/g" Dockerfile
- sed -i "s/CMD apache2-foreground/CMD $DOCKER_CMD/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