Docker's Remote API can be secured via TLS and client certificate verification.
First of all you need a few certificates and keys:
- CA certificate
- Server certificate
- Server key
- Client certificate
- Client key
| def getProjectName() { | |
| return 'JenkinsPipeline' | |
| } | |
| def getJDKVersion() { | |
| return 'jdk1.8.0_101' | |
| } | |
| def getMavenConfig() { | |
| return 'maven-config' |
update-alternatives maintains symbolic links determining default commands
This is a reminder to install java and javac alternatives.
Install java compiler alternatives
$ sudo update-alternatives --install /usr/bin/javac javac /home/bchenebault/Apps/jdk1.5.0_22/bin/javac 1
$ sudo update-alternatives --install /usr/bin/javac javac /home/bchenebault/Apps/jdk1.6.0_45/bin/javac 2
| #!/usr/bin/bash | |
| set -e | |
| # set up nux-dextop repo to install font packages. skip if this repo had already set up. | |
| # can be done by either rpm or yum app. | |
| # /usr/bin/sudo /usr/bin/rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm | |
| /usr/bin/sudo /usr/bin/yum localinstall http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm | |
| # disable nux-dextop by default and only enable it as needed as part of running yum. |
| Test |
| <?xml version="1.0" encoding="Windows-1252" ?> | |
| <!-- | |
| Notepad++ Custom Style | |
| Style name: Sublime Monokai | |
| Author: Andrew Nguyen, Joni Eskelinen | |
| Date: 2009-04-06 (last changed 2013-08-29) | |
| Languages: php, html, css, xml, javascript, python, sql, c, c++, | |
| assembly, bash, batch, lua at least for detail. Everything else more or less... | |
| Info: Using Joni Eskelinin's Obsidian theme as a base, this theme |