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
docker build /path/to/Dockerfile -t nand0p/jenkins-centos | |
docker run -d --privileged=true \ | |
--net=host \ | |
--volume /dev/vboxdrv:/dev/vboxdrv \ | |
--volume /var/lib/jenkins:/var/lib/jenkins \ | |
--volume /var/run/docker.sock:/var/run/docker.sock \ | |
--name jenkins-centos nand0p/jenkins-centos |
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
FROM centos:7 | |
MAINTAINER Fernando Jose Pando <nando@********.com> | |
RUN yum -y install openssl-devel python-devel java-1.8.0-openjdk which unzip wget epel-release kernel-headers kernel-devel && \ | |
yum -y groupinstall 'Development Tools' && \ | |
wget --no-verbose -O /etc/yum.repos.d/virtualbox.repo http://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo && \ | |
wget --no-verbose -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo && \ | |
rpm -v --import https://jenkins-ci.org/redhat/jenkins-ci.org.key && \ | |
yum -y install jenkins VirtualBox-5.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
#!/usr/bin/env python | |
import os | |
import re | |
import sys | |
import boto | |
import pprint | |
del_match = sys.argv[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
#!/bin/bash | |
while (true); do | |
echo . | |
date | |
x=$(dig @8.8.8.8) | |
if [[ "$x" == *connection\ timed\ out* ]]; then | |
echo ------=====OFFLINE=====------ | |
echo $x | |
ping -c 1 8.8.4.4 |
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
nandoP: .version | |
[02:12am] OpsBot: nandoP: Willie v. 3.1.3 at commit: | |
[02:12am] OpsBot: commit 6c882b6dfcc19dd0897e8db1bfcbae55debb3830 | |
[02:12am] OpsBot: Author: Edward Powell <powell.518@gmail.com> | |
[02:12am] OpsBot: Date: Tue Jan 22 15:11:22 2013 -0500 |
NewerOlder