Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

app-emulation,torcx: delete docker 1.12#826

Merged
dongsupark merged 7 commits intomainfrom
dongsu/delete-docker-1.12
Feb 4, 2021
Merged

app-emulation,torcx: delete docker 1.12#826
dongsupark merged 7 commits intomainfrom
dongsu/delete-docker-1.12

Conversation

@dongsupark
Copy link
Copy Markdown
Contributor

@dongsupark dongsupark commented Feb 4, 2021

One of the torcx profiles in Flatcar is for docker 1.12, which is outdated since a long time.
It takes ~27 MB of space in production images almost for no reason.
We should delete docker 1.12.

After deletion:

$ df -h /usr
Filesystem       Size  Used Avail Use% Mounted on
/dev/mapper/usr  985M  843M   91M  91% /usr

Note, let's keep the remaining file name as before, docker-1.12-no.json, to be consistent with naming scheme of the torcx repo itself of Flatcar.

Now that docker 1.12 is gone, we can also delete containerd 0.2.5 and app-emulation/runc 1.0.0_rc2, which had dependencies on docker 1.12.
Note, please do not get confused, we do not delete app-emulation/docker-runc 1.0.0_rc2, because that one is still needed by Docker 17.03.

Fixes flatcar/Flatcar#339.

This PR should be merged together with flatcar/scripts#116.

How to use

./build_packages

Testing done

CI passed: http://localhost:9091/job/os/job/manifest/1960/cldsv/
Note, the CI build was running including the deletion of Go 1.6, and it worked well.
Though the Go 1.6 part is not included in this PR, because if we delete Go 1.6 at once, the nightly build will be broken.
We should merge deletion of Go 1.6 one day after we merged this PR.

Dongsu Park added 7 commits February 4, 2021 16:56
One of the torcx profiles in Flatcar is for docker 1.12, which is
outdated since a long time. It takes ~27 MB of space in production
images almost for no reason.
We can and should delete docker 1.12.

After deletion:

```
$ df -h /usr
Filesystem       Size  Used Avail Use% Mounted on
/dev/mapper/usr  985M  843M   91M  91% /usr
```
delete torcx profiles for docker 1.12
Delete torcx config file needed only for Docker 1.12.
Note, let's keep the remaining file name as before,
`docker-1.12-no.json`, to be consistent with naming scheme of
the torcx repo itself of Flatcar.
Now that docker 1.12 is gone, we can also delete containerd 0.2.5,
which had dependency on docker 1.12.
Now that docker 1.12 is gone, we can delete `app-emulation/runc`
1.0.0_rc2, which had dependency on docker 1.12.

Note, we do not delete `app-emulation/docker-runc` 1.0.0_rc2, because
that one is needed by Docker 17.03.
Now that `app-emulation/runc` is gone, we can delete also the negative
dependency on `app-emulation/runc` from RDEPEND of
`app-emulation/docker-runc`.
Now that `app-emulation/runc` is gone, we can also delete it from
`package.use` in profiles.
Copy link
Copy Markdown
Contributor

@krnowak krnowak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need some extra release note. Also, are there some docs that mention docker 1.12 to be removed?

@dongsupark
Copy link
Copy Markdown
Contributor Author

dongsupark commented Feb 4, 2021

This will need some extra release note. Also, are there some docs that mention docker 1.12 to be removed?

Sure, we will explicitly say about that in the next Alpha release note.
don't know about the "docs", I would leave other folks doing the releases decide the details about that.

@dongsupark dongsupark merged commit 593f9a4 into main Feb 4, 2021
@dongsupark dongsupark deleted the dongsu/delete-docker-1.12 branch February 4, 2021 16:57
@pothos
Copy link
Copy Markdown
Contributor

pothos commented Feb 4, 2021

I thought that in torcx there is also something to remove, but if we document that even though the mechanics are still in place, they are not supported, it's also fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete docker 1.12

3 participants