Skip to content

Instantly share code, notes, and snippets.

@nooptr
Created May 28, 2018 05:07
Show Gist options
  • Save nooptr/2d50e6cf161f6cc3d3092443b09f3b60 to your computer and use it in GitHub Desktop.
Save nooptr/2d50e6cf161f6cc3d3092443b09f3b60 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Usage:
# ./solc [options] inputfile > outfile
# Notes:
# - file i/o is limited to the current directory
# - this works with the pyethereum solc_wrapper
docker run -i --rm --user $(id -u):$(id -g) -v $(pwd):/tmp --workdir /tmp ethereum/solc:0.4.24 $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment