My solutions to 2018's advent of code
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
1234567891011121314 |
- #!/bin/bash
-
- IMAGE=csmith/aoc-2018-02
-
- docker image inspect $IMAGE >/dev/null 2>&1
- if [ $? -ne 0 ]
- then
- echo "One time setup: building docker image..."
- cd docker
- docker build . -t $IMAGE
- cd ..
- fi
-
- docker run --rm -it -v $(pwd):/code $IMAGE /entrypoint.sh $@
|