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

Please don't update ubuntu packages within the docker-compose #4915

@alexanderankin

Description

@alexanderankin

Problem description:
The problem I'm seeing is very high cpu usage when i reboot my pc, htop says it is the containers from the getting started guide of this project.

Solution description:
I think the solution here is to simply not run apt-get update in the docker-compose file. I can submit a PR which fixes this and simply waits for the port instead of downloading a dependency to do it

Description of alternatives:
An alternative is to add this to the images used:

https://github.com/spring-cloud/spring-cloud-dataflow/blob/0b9ff6024c2983f63e16ab5709c697af31a0203f/src/docker-compose/docker-compose.yml#L57

https://github.com/spring-cloud/spring-cloud-dataflow/blob/0b9ff6024c2983f63e16ab5709c697af31a0203f/src/docker-compose/docker-compose.yml#L124

it seems like somehow this script already exists in this image, for instance:

https://github.com/spring-cloud/spring-cloud-dataflow/blob/0b9ff6024c2983f63e16ab5709c697af31a0203f/src/docker-compose/docker-compose.yml#L111-L120

Additional context:
seems like updating ubuntu packages on multiple containers detracts from the overall introductory experience

Metadata

Metadata

Assignees

Labels

type/taskSomething needs to get done

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions