Skip to content

Instantly share code, notes, and snippets.

@LnL7

LnL7/Dockerfilee Secret

Created January 31, 2020 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/7ade09ce65dd3a3bd501e9a2d8282fbd to your computer and use it in GitHub Desktop.
Save LnL7/7ade09ce65dd3a3bd501e9a2d8282fbd to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -e
nix-daemon 2>/dev/null &
exec "${@:-bash}"
FROM nix
COPY docker-entrypoint.sh /
ENTRYPOINT /docker-entrypoint.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment