Skip to content

Instantly share code, notes, and snippets.

Paul Merker DerPauli

View GitHub Profile
@DerPauli
DerPauli / oc.sh
Last active August 12, 2019 06:51
RedHat OpenShift cheat sheet
## Basic
# create new project
oc new-app <git_project> \
--source-secret=<optional_secret(basic auth + crt)> \
--build-env <build_environment_variables> \
--context-dir=<dir_for_dockerfile> \
-o yaml > <outfile>
# create a secret
oc create secret generic <secret_name> \
# Important options for qt's ./configure script as found in 'https://code.qt.io/qt/qt5.git'
./configure
-prefix /home/{{ sytem_user }}/Qt
-opensource
-release
-shared
-c++std c++11
-nomake examples
-nomake tests