Based on ubi8/python-38:latest
Inspired by ubi8-s2i-web-app
via Docker
s2i build https://github.com/openshift-examples/web.git \
quay.io/openshift-examples/ubi8-s2i-mkdocs:latest \
my-openshift-example
via Podman
s2i build https://github.com/openshift-examples/web.git \
quay.io/openshift-examples/ubi8-s2i-mkdocs:latest \
--as-dockerfile my-openshift-example
podman build -t my-openshift-example:latest -f my-openshift-example .
podman run -p 8080:8080 my-openshift-example:latest
oc new-build quay.io/openshift-examples/ubi8-s2i-mkdocs:latest~https://github.com/openshift-examples/web.git
oc new-app quay.io/openshift-examples/ubi8-s2i-mkdocs:latest~https://github.com/openshift-examples/web.git