Containerize and run retro games in OpenShift and play them in your browser.
In this example we'll build an image in OpenShift, create service and expose it to the outside world via a route.
git clone https://github.com/nickschuetz/ocparcade
cd ocparcade/arkanoid
oc new-project ocparcade
oc new-app --strategy=docker --binary --name=arkanoid
oc start-build arkanoid --from-dir .
oc logs deployment/arkanoid -f
oc expose deployment/arkanoid --port 8080
oc expose service/arkanoid
echo http://$(oc get routes arkanoid -n ocparcade -o=jsonpath='{range .spec}{.host}{"\n"}{end}')
Here's an example of deploying Epic Pinball from a pre-built image built using Podman and stored in Quay.io
oc new-project ocparcade
oc new-app quay.io/ocparcade/epicpinball
oc expose service/epicpinball
echo http://$(oc get routes epicpinball -n ocparcade -o=jsonpath='{range .spec}{.host}{"\n"}{end}')
A big thank you to the open source projects that made this possible.