Skip to content

Containerize and run retro games in OpenShift Container Platform and play them in your browser.

Notifications You must be signed in to change notification settings

nickschuetz/ocparcade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OpenShift Container Platform Arcade: OCPArcade

Containerize and run retro games in OpenShift and play them in your browser.

Build and Deploy image in OpenShift

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}')

Deploy from pre-built image

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}')

Supporting Open Source Projects

A big thank you to the open source projects that made this possible.

OpenShift

Podman

Quay

Universal Base Images

DOSBox

js-dos

About

Containerize and run retro games in OpenShift Container Platform and play them in your browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published