This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# put this in root/docker_start_master.sh | |
# Make files owned by jenkins (not root). This didn't work when done from the Dockerfile build. | |
chown -R jenkins:jenkins /var/jenkins_home | |
# Need to make sure docker.sock is in the "docker" group so that the "jenkins" user can use it: | |
chown root:docker /var/run/docker.sock | |
# Work-around a problem we're having with the container (running as a UCP service) not having DNS set-up: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# run on all nodes | |
# https://docs.docker.com/cs-engine/1.13/ | |
curl -s 'https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' | sudo apt-key add --import | |
sudo apt-get update && sudo apt-get install apt-transport-https | |
sudo apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
echo "deb https://packages.docker.com/1.13/apt/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-get update && sudo apt-get install docker-engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
source /usr/local/etc/bash_completion.d/git-completion.bash | |
source /usr/local/etc/bash_completion.d/git-flow-completion.bash | |
source /usr/local/etc/bash_completion.d/git-prompt.sh | |
export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=256" | |
export CLICOLOR=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder