I hereby claim:
- I am ca0abinary on github.
- I am jonathandemarks (https://keybase.io/jonathandemarks) on keybase.
- I have a public key ASDPUhZ2HvjqSSz3PZPrRx1wfYMppr-mBvn0Qv7_oT_UFAo
To claim this, I am signing this object:
#cloud-config | |
--- | |
coreos: | |
etcd: | |
addr: $public_ipv4:4001 | |
peer-addr: $public_ipv4:7001 | |
discovery: https://discovery.etcd.io/ff10c58e472358739a4d57e315cc94f3 | |
fleet: | |
public-ip: $public_ipv4 |
$new_discovery_url='https://discovery.etcd.io/new' | |
# To automatically replace the discovery token on 'vagrant up', uncomment | |
# the lines below: | |
if File.exists?('user-data') && ARGV[0].eql?('up') | |
require 'open-uri' | |
require 'yaml' | |
token = open($new_discovery_url).read | |
[Unit] | |
Description=Zookeeper service | |
After=docker-flannel.service | |
ConditionFileNotEmpty=/etc/zookeeper-release | |
ConditionFileNotEmpty=/etc/zookeeper-environment | |
[Service] | |
EnvironmentFile=/etc/environment | |
EnvironmentFile=/etc/zookeeper-release | |
EnvironmentFile=/etc/zookeeper-environment |
[Unit] | |
Description=MesosMaster | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=on-failure | |
RestartSec=20 | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill mesos_master |
[Unit] | |
Description=MesosSlave | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=on-failure | |
RestartSec=20 | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill mesos_slave |
[Unit] | |
Description=Marathon | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
Restart=on-failure | |
RestartSec=20 | |
TimeoutStartSec=0 | |
ExecStartPre=-/usr/bin/docker kill marathon |
I hereby claim:
To claim this, I am signing this object:
FROM lambci/lambda:build-python3.7 | |
WORKDIR /root | |
RUN yum -y update | |
RUN curl ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.5.tar.gz -O && \ | |
tar xvzf unixODBC-2.3.5.tar.gz && \ | |
cd unixODBC-2.3.5 && \ | |
./configure --sysconfdir=/opt/python --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE --prefix=/home && \ | |
make install && \ | |
cd .. && \ | |
mv /home/* . && \ |
# escape=` | |
FROM mcr.microsoft.com/windows/servercore:20H2 | |
# Windows Features | |
RUN powershell -Command ` | |
Add-WindowsFeature Web-Server; ` | |
Add-WindowsFeature NET-Framework-45-ASPNET; ` | |
Add-WindowsFeature Web-Asp-Net45; ` | |
Add-WindowsFeature NET-WCF-TCP-Activation45; ` | |
Add-WindowsFeature NET-WCF-HTTP-Activation45; | |
# Chocolatey |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"sync" | |
"sync/atomic" | |
"time" | |
) |