ruby/s2i/bin/usage
Pavel Valena 521515304c Sync with main branch.
This refers to 2.7 instead.
2021-04-16 02:22:17 +02:00

16 lines
448 B
Bash
Executable file

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