From f2e0e101700614656e1a312c4ce45c91886852f9 Mon Sep 17 00:00:00 2001 From: Christopher Carpenter Date: Thu, 10 Sep 2015 22:49:03 -0500 Subject: [PATCH] Fix the broken docker scripts I am far from a docker expert, but the original scripts were complaining that jekyll/stable didn't exist. In addition, CTRL+C was not killing the livetest docker container. With these changes both things seem to work for me. I recommend manually testing these yourself before merging. --- build.sh | 2 +- livetest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 5e6e1a8..e030c3c 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/bash # host:guest port map. -docker run --label=jekyll --label=stable --volume=$(pwd):/srv/jekyll -t -p 127.0.0.1:4000:4000 jekyll/stable jekyll build +docker run --label=jekyll --label=stable --volume=$(pwd):/srv/jekyll -t -p 127.0.0.1:4000:4000 jekyll/jekyll jekyll build docker build -t pnathan/articulate-common-lisp:latest . diff --git a/livetest.sh b/livetest.sh index e74d4c9..d911b2c 100755 --- a/livetest.sh +++ b/livetest.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run --label=jekyll --label=stable --volume=$(pwd):/srv/jekyll -t -p 127.0.0.1:4000:4000 jekyll/stable jekyll s --baseurl='' +docker run --label=jekyll --label=stable --volume=$(pwd):/srv/jekyll -p 127.0.0.1:4000:4000 jekyll/jekyll