GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — java-docker-build-tutorial/start_container.sh at main · arif-tamboli/java-docker-build-tutorial Expand file tree/ Copy pathstart_container.shMore file actions executable file ·13 lines (9 loc) · 499 Bytes / Copy pathstart_container.shFile metadata and controlsexecutable file ·13 lines (9 loc) · 499 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 #!/usr/bin/env bash # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ # `-u`: Errors if a variable is referenced before being set # `-o pipefail`: Prevent errors in a pipeline (`|`) from being masked set -uo pipefail # Import environment variables from .env set -o allexport && source .env && set +o allexport echo "Starting container for image '$DOCKER_IMAGE_NAME:$DOCKER_IMAGE_TAG', exposing port 8123/tcp" docker run -p 8123:8123 "$DOCKER_IMAGE_NAME":"$DOCKER_IMAGE_TAG" |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |