Update 2018-09-20: Please read disclaimer at the bottom regarding copyrights.
So the little guy in blue overalls, red cap, mustache and a with a constant need for ‘shrooms decided to join the SAP Cloud Platform party! Originally my work here was to prove the combined strength of Github, Docker and SAP Cloud Platform , but as it turns out, it’s also quite entertaining.
Somehow, not everyone are convinced about the prior mentioned tools. Therefore, maybe a game is what it would take to get these guys on the believer side?
One single command get’s it running on Cloud Foundry. One.
The fine print would then contain the requirements that you have an SAP Cloud Platform Cloud Foundry account (trial or productive), that you have downloaded the command line interface and have logged in to your org and space. If this was new to you – go here.
So if you have this in place – one single command in your command prompt will get the build from docker, put the container in you Cloud Foundry space and start the whole thing.
What are the magical words, you ask?
cf push mario --docker-image pengbai/docker-supermario/ -m 512M --random-route
My point with this post is not to get you into playing games. It’s that using Docker with SAP Cloud Platform is really a beautiful thing!
Disclaimer: This code on github is open source under the “Unilicense” license. You can find the github code here: https://github.com/robertkleffner/mariohtml5 However, even if the code is free to copy and distribute, the product that the code generates may still be protected by copyright. It’s a bit messy and you can read more here: https://medium.com/@lrhodes/super-mario-bros-isnt-free-yet-93fca12ba59a
Any copy, use and distribution is on your own risk.