Skip to content

Instantly share code, notes, and snippets.

@apstndb
Last active May 10, 2019 06:13
Show Gist options
  • Save apstndb/63022c10ca5e94ed6e7c1dff9d5dbeaf to your computer and use it in GitHub Desktop.
Save apstndb/63022c10ca5e94ed6e7c1dff9d5dbeaf to your computer and use it in GitHub Desktop.

Run on Google Cloud

Usage

$ curl ${SERVICE_URL}
FROM alpine
ENTRYPOINT while :; do nc -l -p $PORT -e sh -c 'echo -en "HTTP/1.1 200 OK\n\n"; dmesg'; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment