This file contains hidden or 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
+---------------------------------------------------------------+ | |
| * * * PUSH REJECTED BY EVIL DRAGON BUREAUCRATS * * * | | |
+---------------------------------------------------------------+ | |
\ | |
\ ^ /^ | |
\ / \ // \ | |
\ |\___/| / \// .\ | |
\ /V V \__ / // | \ \ *----* | |
/ / \/_/ // | \ \ \ | | |
@___@` \/_ // | \ \ \/\ \ |
This file contains hidden or 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
#==================================== | |
# CentOS Linux - Apache Tomcat 8.5 | |
#==================================== | |
FROM openjdk:8u275-jdk-centos7.9 | |
ENV TOMCAT_VERSION=8.5.61 \ | |
TOMCAT_MAJOR=8 \ | |
TOMCAT_DISPLAY_VERSION=8.5 \ | |
CATALINA_HOME=/opt/tomcat \ | |
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
$master_cpus = 2 | |
$master_memory = 2048 | |
$num_workers = 3 | |
$worker_cpus = 4 | |
$worker_memory = 4096 | |
$common_script = <<-SCRIPT |
This file contains hidden or 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
def getProjectName() { | |
return 'JenkinsPipeline' | |
} | |
def getJDKVersion() { | |
return 'jdk1.8.0_101' | |
} | |
def getMavenConfig() { | |
return 'maven-config' |
This file contains hidden or 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
#==================================== | |
# Alpine Linux - OpenJDK8 Dockerfile | |
#==================================== | |
FROM alpine:3.12 | |
USER root | |
RUN (apk fix --no-cache || echo "cannot fix.") && \ | |
(apk upgrade --no-cache || echo "cannot upgrade.") && \ |
This file contains hidden or 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
# Simple JBoss7 helper functions | |
# set var to jboss home dir | |
JBOSS_HOME="/usr/local/jboss/jboss-as-web-7.0.2.Final" | |
#Start BBoss | |
alias jboss-start="sudo $JBOSS_HOME/bin/standalone.sh" | |
#Stop JBoss | |
alias jboss-stop="sudo $JBOSS_HOME/bin/jboss-admin.sh --connect command=:shutdown" |
This file contains hidden or 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 amazonlinux:2.0.20200722.0 AS builder | |
USER root | |
WORKDIR /tmp | |
RUN yum repolist && yum update -y && \ | |
yum install -y --setopt=tsflags=nodocs httpd-devel tar gcc gcc-c++ perl make libtool hostname nss_wrapper gettext jq curl bind-utils httpd mod_ssl openssl && \ | |
# Install mod_jk | |
curl -SL http://mirror.nbtelecom.com.br/apache/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.48-src.tar.gz -o tomcat-connectors-1.2.48-src.tar.gz && \ | |
tar -xzf tomcat-connectors-1.2.48-src.tar.gz && \ |
This file contains hidden or 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 bash | |
# Use this script to test if a given TCP host/port are available | |
WAITFORIT_cmdname=${0##*/} | |
echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi } | |
usage() | |
{ | |
cat << USAGE >&2 |
This file contains hidden or 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
Vagrant.configure('2') do |config| | |
config.vm.box = "centos/7" | |
config.vm.box_check_update = true | |
(51..53).each do |i| | |
config.vm.define "docker#{i}" do |node| | |
node.vm.hostname = "docker#{i}" | |
#node.vm.network "private_network", ip: "192.168.121.#{i}" | |
node.vm.network :private_network, ip: "192.168.123.#{i}" | |
node.vm.provider :kvm do |kvm, override| | |
kvm.memory_size = '2048m' |
This file contains hidden or 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 | |
############################################################### | |
Apache Installation | |
############################################################### | |
# Install required tools for compilation | |
sudo yum install autoconf expat-devel libtool libnghttp2-devel apr apr-util pcre-devel openssl-devel zlib-devel -y | |
# Download source code | |
cd /usr/local/src |