Skip to content

Instantly share code, notes, and snippets.

@kadel
Last active May 2, 2018 12:44
Show Gist options
  • Select an option

  • Save kadel/de321aa822074b70f3680ecc60f2855b to your computer and use it in GitHub Desktop.

Select an option

Save kadel/de321aa822074b70f3680ecc60f2855b to your computer and use it in GitHub Desktop.
#!/bin/bash
# download modified odo
wget -O /usr/local/bin/odo https://dl.bintray.com/odo/odo/latest/odo; chmod +x /usr/local/bin/odo
# update php imagestream
oc apply -n openshift -f https://gist.githubusercontent.com/kadel/bb5c86158bfc44e335ea99c91fab04e3/raw/my-wildfly-is.yaml
oc apply -n openshift -f https://gist.githubusercontent.com/kadel/ee43d945013931c43cab5d8280847102/raw/my-php-is.yaml
# download images
oc import-image -n openshift wildfly
oc import-image -n openshift php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment