@@ -230,7 +230,7 @@ docker rm $(docker ps -a -q)
230docker rmi $(docker images -q)
230docker rmi $(docker images -q)
233−but `docker pull snoyberg/stackage:nightly` can also be run instead just to update the nightly image say.
233+but `docker pull commercialhaskell/stackage:nightly` can also be run instead just to update the nightly image say.
235For a new GHC version you should also delete the cache directories on the stackage-build server to
235For a new GHC version you should also delete the cache directories on the stackage-build server to
236force all packages to be rebuilt. See: [issue#746](https://github.com/commercialhaskell/stackage/issues/746). Eg:
236force all packages to be rebuilt. See: [issue#746](https://github.com/commercialhaskell/stackage/issues/746). Eg:
@@ -241,14 +241,16 @@ This should also be done when moving the Nightly docker image to a new version o
242If you're impatient and would like to build the Docker image on the
242If you're impatient and would like to build the Docker image on the
243build server instead of waiting for Docker Hub, you can run the
243build server instead of waiting for Docker Hub, you can run the
244−following command:
244+following command (replacing `BRANCH=nightly` if the image for a different branch is desired):
247DIR=$(mktemp -d)
248DIR=$(mktemp -d)
248(cd $DIR \
249(cd $DIR \
249 && git clone https://github.com/commercialhaskell/stackage \
250 && git clone https://github.com/commercialhaskell/stackage \
250 && cd stackage \
251 && cd stackage \
252+ && git checkout $BRANCH
251− && docker build --tag snoyberg/stackage:nightly .)
253+ && docker build --tag commercialhaskell/stackage:$BRANCH .)
252rm -rf $DIR
254rm -rf $DIR