mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-21 10:37:52 +01:00
Merge pull request #4077 from commercialhaskell/DanBurton-patch-1
docker image: snoyberg -> commercialhaskell
This commit is contained in:
commit
8c6f83fd43
@ -230,7 +230,7 @@ docker rm $(docker ps -a -q)
|
|||||||
docker rmi $(docker images -q)
|
docker rmi $(docker images -q)
|
||||||
```
|
```
|
||||||
|
|
||||||
but `docker pull snoyberg/stackage:nightly` can also be run instead just to update the nightly image say.
|
but `docker pull commercialhaskell/stackage:nightly` can also be run instead just to update the nightly image say.
|
||||||
|
|
||||||
For a new GHC version you should also delete the cache directories on the stackage-build server to
|
For a new GHC version you should also delete the cache directories on the stackage-build server to
|
||||||
force all packages to be rebuilt. See: [issue#746](https://github.com/commercialhaskell/stackage/issues/746). Eg:
|
force 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
|
|||||||
|
|
||||||
If you're impatient and would like to build the Docker image on the
|
If you're impatient and would like to build the Docker image on the
|
||||||
build server instead of waiting for Docker Hub, you can run the
|
build server instead of waiting for Docker Hub, you can run the
|
||||||
following command:
|
following command (replacing `BRANCH=nightly` if the image for a different branch is desired):
|
||||||
|
|
||||||
```
|
```
|
||||||
|
BRANCH=nightly
|
||||||
DIR=$(mktemp -d)
|
DIR=$(mktemp -d)
|
||||||
(cd $DIR \
|
(cd $DIR \
|
||||||
&& git clone https://github.com/commercialhaskell/stackage \
|
&& git clone https://github.com/commercialhaskell/stackage \
|
||||||
&& cd stackage \
|
&& cd stackage \
|
||||||
&& docker build --tag snoyberg/stackage:nightly .)
|
&& git checkout $BRANCH
|
||||||
|
&& docker build --tag commercialhaskell/stackage:$BRANCH .)
|
||||||
rm -rf $DIR
|
rm -rf $DIR
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user