Closed JohnNiang closed 2 years ago
@JohnNiang: The label(s) kind/enhancement
cannot be applied, because the repository doesn't have them.
/priority high
I could confirm that the size of the last docker image will be decreased, please see the screenshot below:
Dive into docker image:
I suggest putting Podman installation into https://github.com/kubesphere/devops-agent/blob/45621490aa967122acaba25da6ef6c603ce75f5c/base/podman/Dockerfile#L4
to reduce layer generation and total size of the docker image.
/kind optimization /good-first-issue
@JohnNiang: This request has been marked as suitable for new contributors.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue
command.
hi @JohnNiang , thanks for reporting this issue. But IMO this might not be a high-priority issue. Especially you already putted a good-first-issue
label for it.
/assign
Please see the Podman installation: https://github.com/kubesphere/devops-agent/blob/45621490aa967122acaba25da6ef6c603ce75f5c/base/podman/Dockerfile#L60-L62
After the installation, yum resources were not cleaned up.
/kind enhancement