Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| #!groovy | |
| import groovy.json.JsonOutput | |
| import groovy.json.JsonSlurper | |
| def label = "mypod-${UUID.randomUUID().toString()}" | |
| podTemplate(label: label, yaml: """ | |
| spec: | |
| containers: | |
| - name: mvn | |
| image: maven:3.3.9-jdk-8 |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| # json-log.conf - log all useful nginx variables in json formatted log | |
| # for details about these variables, see http://nginx.org/en/docs/http/ngx_http_core_module.html#variables | |
| log_format json-log '{' | |
| # $arg_* | |
| # $args | |
| # $binary_remote_addr | |
| '"body_bytes_sent":"$body_bytes_sent",' | |
| '"bytes_sent":"$bytes_sent",' | |
| '"connection":"$connection",' | |
| # $connection_requests |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
| "Mappings" : { | |
| "RegionMap" : { | |
| "eu-central-1" : { | |
| "AMI" : "ami-487d4d55" | |
| }, |
| upstream phpfpm { | |
| server unix:/var/run/php5-fpm.sock; | |
| } | |
| upstream hhvm { | |
| server unix:/var/run/hhvm/hhvm.sock; | |
| } | |
| # SSL | |
| ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
| // This systemd runs iptables-restore on boot: | |
| [Unit] | |
| Description=Packet Filtering Framework | |
| DefaultDependencies=no | |
| After=systemd-sysctl.service | |
| Before=sysinit.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/usr/sbin/iptables-restore /opt/docker/scripts/iptables/iptables.rules |
| #!/bin/bash | |
| #Mount and install the VMware Fusion guest tools using default settings | |
| kernel=`uname -s` | |
| if [ "${kernel}" == "Linux" ]; then veewee_user="veewee"; elif [ "${kernel}" == "Darwin" ]; then veewee_user="vagrant"; fi | |
| echo "**** Our kernel is ${kernel} and our user is ${veewee_user}." | |
| if [ $kernel == "Linux" ]; then | |
| #Set Linux-specific paths and ISO filename |
| A warning occurred (42 apples) | |
| An error occurred |