Skip to content

Instantly share code, notes, and snippets.

View jvduf's full-sized avatar

Jeroen van Duffelen jvduf

  • Amsterdam, the Netherlands
View GitHub Profile
@jvduf
jvduf / harden.sh
Created July 15, 2017 12:53 — forked from kost/harden.sh
hardening script for an alpine docker container
#!/bin/sh
set -x
set -e
#
# Docker build calls this script to harden the image during build.
#
# NOTE: To build on CircleCI, you must take care to keep the `find`
# command out of the /proc filesystem to avoid errors like:
#
# find: /proc/tty/driver: Permission denied