Skip to content

Instantly share code, notes, and snippets.

@awendland
awendland / setup_ecr_credential.sh
Created June 12, 2018 19:09
Convenience script for installing a pre-compiled version of https://github.com/awslabs/amazon-ecr-credential-helper on macOS and 64-bit linux
#!/bin/bash
set -e
##################################################################################
# Configure the ECR credential helper to make interacting with the ECR
# repo eaiser from the Docker client.
#
# Usage: `./setup_ecr_credential.sh`
#
# $OS (defaults to autodetection using OSTYPE) - macos OR linux, which
@awendland
awendland / gen_docker_certs.sh
Last active June 24, 2018 05:14
Generate a CA and issue cert pairs for usage by a docker server and client
#! /bin/bash
###############################################################################
# Generate the server and client certificates required to secure and verify
# both the Docker daemon and Docker client when communicating over an HTTP
# socket using TLS.
#
# NOTE: These steps can all be completed manually as well. Simply follow the
# requirements specified by the DIY comments to generate the appropriate certs.
# This website provides good information about the process:
# https://jamielinux.com/docs/openssl-certificate-authority/sign-server-and-client-certificates.html
@awendland
awendland / .merlin
Created March 26, 2020 00:25
A .merlin file for working on webassembly/spec/interpreter
S ./**
B _build/**