Skip to content

Instantly share code, notes, and snippets.

@MrCoffey
MrCoffey / Dockerfile
Last active January 20, 2018 23:35
Dockerfile for containers configured to install k8s
#Source: https://github.com/kubernetes/kubernetes/issues/35712
FROM ubuntu
ENV container docker
RUN apt-get -y update
RUN apt-get update -qq && apt-get install -qqy \
apt-transport-https \
ca-certificates \
curl \
lxc \
@MrCoffey
MrCoffey / docker-compose.yml
Created February 25, 2018 04:37
Drone.io configuration file
version: '3.4'
services:
lb:
image: traefik:1.4.5
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
#!/usr/bin/env bash
# Modified from https://gist.github.com/Stono/7e6fed13cfd79598eb15
#
# MIT License applies to this script. I don't accept any responsibility for
# damage you may cause using it.
set -ex
if [[ $EUID -ne 0 ]]; then
echo "* This script needs to be run as root"