nodejs/s2i/bin/usage
phracek 5bfde53a71 Merge pull request #340 from zmiklank/exit_oc_tests_if_login_fails
Exit oc tests gracefully if login fails
2022-06-10 08:44:57 +00:00

15 lines
463 B
Bash
Executable file

#!/bin/sh
DISTRO=`cat /etc/*-release | grep ^ID= | grep -Po '".*?"' | tr -d '"'`
cat <<EOF
This is a S2I nodejs-14 ${DISTRO} base image:
To use it, install S2I: https://github.com/openshift/source-to-image
Sample invocation:
s2i build https://github.com/sclorg/s2i-nodejs-container.git --context-dir=14/test/test-app/ ${NAMESPACE}/nodejs-14-${DISTRO}7 nodejs-sample-app
You can then run the resulting image via:
podman run -p 8080:8080 nodejs-sample-app
EOF