Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - chore(.docker): remove alpine build, too fragile #7401

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .docker/README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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