Don't bind a port on the host, it's not required

This commit is contained in:
Joe Groocock 2017-09-19 23:27:14 +01:00
parent 0048180ff5
commit 59c0672010
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -21,7 +21,7 @@ pipeline:
commands: commands:
- apk add --no-cache curl xmlstarlet grep - apk add --no-cache curl xmlstarlet grep
- export CUR_VERSION="$(cat .plex_version)" - export CUR_VERSION="$(cat .plex_version)"
- CON_NAME=$(docker run --rm -d -p 32400:32400 plex-dev) - CON_NAME=$(docker run --rm -d plex-dev)
- sleep 10 # Wait for plex to start! - sleep 10 # Wait for plex to start!
- docker logs $$CON_NAME - docker logs $$CON_NAME
- curl -sSL $(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity \ - curl -sSL $(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $$CON_NAME):32400/identity \