on master help sign in
docker image: snoyberg -> commercialhaskell
commite813ed3ef5b746c659d137e31d500823410a44c9 authorDan Burton <danburton.email@gmail.com> dateFri 26 Oct 2018, 18:36 (8 years ago) parent8a8ddc5
1 file changed+5−3
CURATORS.md+5−3
CURATORS.md+5−3
@@ -230,7 +230,7 @@ docker rm $(docker ps -a -q)
230230docker rmi $(docker images -q)
231231```
232232
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.
234234
235235For a new GHC version you should also delete the cache directories on the stackage-build server to
236236force 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
241241
242242If you're impatient and would like to build the Docker image on the
243243build 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):
245245
246246```
247+BRANCH=nightly
247248DIR=$(mktemp -d)
248249(cd $DIR \
249250 && git clone https://github.com/commercialhaskell/stackage \
250251 && cd stackage \
251− && docker build --tag snoyberg/stackage:nightly .)
252+ && git checkout $BRANCH
253+ && docker build --tag commercialhaskell/stackage:$BRANCH .)
252254rm -rf $DIR
253255```
254256