Skip to Content

So the little guy in blue overalls, red cap, mustache and a 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 shuuse/mario_sap_scp_cf -m 512M --random-route

That’s it!

If you rather would just start playing, you can do it here (for as long as I keep my trial account):

https://supermario.cfapps.eu10.hana.ondemand.com/

(keyboard keys to use: S, A and arrows)

Enjoy!

 

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Merve Gul

    Hi,

    It looks awesomely sweet!!! Where should I have to write this command down?

    Please guide me on the location of the file 🙂

    cf push mario –docker-image shuuse/mario_sap_scp_cf -m 512M –random-route

    (0) 
    1. Simen Huuse Post author

      Hi Merve,

      I think you should check out the link in this article. https://www.sap.com/developer/tutorials/hcp-cf-getting-started.html

      Good place to get started.

      Kind regards,

      Simen

      (0) 
  2. Shibaji Chandra

    Hi Simen,

    This is a nice one!!The potential to use the power of docker along with CF opens up the whole new world.

    Just wondering if I can run a docker Jenkins image in my trial CF.

    Like below may be:

    cf push myjenkins –docker-image jenkins/jenkins -m 2048M –random-rout

    Not sure… any idea??!!

     

     

    (0) 
    1. Simen Huuse Post author

      Hi Shibaji,

      Setting up Jenkins will take some tweaking of parameters to get it running – not sure if SAP CP CF gives you access to what you need here.

      I really don’t think the trial accounts is logical place to run Jenkins, as it is a personal space that should only be used for sandboxing and personal training and no real development. Chances are you will spend a lot of time to set it up and have a really bad ROI on you time spent.

      Best,

      Simen

      (0) 

Leave a Reply