Skip to content

Commit

Permalink
chore(.docker): remove alpine build, too fragile (#7401)
Browse files Browse the repository at this point in the history
If this is approved I'll remove the automatic builds of the `alpine` based images over on `hub.docker.com`.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
  • Loading branch information
semorrison and semorrison committed Apr 29, 2021
1 parent 91604cb commit c956353
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 105 deletions.
7 changes: 4 additions & 3 deletions .docker/README.md
Expand Up @@ -11,9 +11,10 @@ This will result in the creation of two containers:
* `leanprovercommunity/lean` - contains elan, lean, and leanproject
* `leanprovercommunity/mathlib` - additionally contains a copy of mathlib, with oleans

In fact, for each container you'll get three different tags, `:debian`, `:alpine` and `:latest`.
`:debian` and `:alpine` use those respective distributions, and `:latest` just points at `:debian`.
Finally, there is also a `leanprovercommunity/mathlib:gitpod` for use at
In fact, for each container you'll get two different tags, `:debian` and `:latest`,
which are just synonyms.
(We used to have an `alpine` distribution, but it wasn't robust enough to warrant maintenance.)
There is also a `leanprovercommunity/mathlib:gitpod` for use at
[https://gitpod.io/](https://gitpod.io/).

## Usage
Expand Down
6 changes: 0 additions & 6 deletions .docker/alpine/lean/.profile

This file was deleted.

79 changes: 0 additions & 79 deletions .docker/alpine/lean/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions .docker/alpine/mathlib/Dockerfile

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/docker_build.sh
Expand Up @@ -2,11 +2,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

cd $DIR/../.docker/debian/lean && \
docker build -t leanprovercommunity/lean:debian -t leanprovercommunity/lean:latest . && \
cd $DIR/../.docker/alpine/lean && \
docker build -t leanprovercommunity/lean:alpine . && \
cd $DIR/../.docker/debian/mathlib && \
docker build -t leanprovercommunity/mathlib:debian -t leanprovercommunity/mathlib:latest .
cd $DIR/../.docker/alpine/mathlib && \
docker build -t leanprovercommunity/mathlib:alpine .
cd $DIR/../.docker/gitpod/mathlib && \
docker build -t leanprovercommunity/mathlib:gitpod .
2 changes: 0 additions & 2 deletions scripts/docker_push.sh
Expand Up @@ -8,8 +8,6 @@ cd $DIR
./docker_build.sh
docker push leanprovercommunity/lean:latest
docker push leanprovercommunity/lean:debian
docker push leanprovercommunity/lean:alpine
docker push leanprovercommunity/mathlib:latest
docker push leanprovercommunity/mathlib:debian
docker push leanprovercommunity/mathlib:alpine
docker push leanprovercommunity/mathlib:gitpod

0 comments on commit c956353

Please sign in to comment.