Skip to content
Snippets Groups Projects
Commit 669f7408 authored by ale's avatar ale
Browse files

Drop user

parent 12770b52
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ container_test: ...@@ -38,7 +38,7 @@ container_test:
script: script:
- apk add curl - apk add curl
- docker pull ${IMAGE_TAG} - docker pull ${IMAGE_TAG}
- docker run --user 1000:1000 --read-only --detach --rm --network=host --mount=type=tmpfs,destination=/run,tmpfs-mode=01777 --env APACHE_PORT=8081 ${IMAGE_TAG} > .container_id - docker run --read-only --detach --rm --network=host --mount=type=tmpfs,destination=/run,tmpfs-mode=01777 --env APACHE_PORT=8081 ${IMAGE_TAG} > .container_id
- cat .container_id - cat .container_id
- sleep 3 - sleep 3
- "curl -svf -H 'Host: www.autistici.org' http://${IPADDR}:8081/" - "curl -svf -H 'Host: www.autistici.org' http://${IPADDR}:8081/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment