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

Switch to no-systemd variant of open-balena-base #273

Merged
merged 4 commits into from
Aug 1, 2024

Conversation

@flowzone-app flowzone-app bot enabled auto-merge July 29, 2024 13:18
@klutchell klutchell requested a review from Page- July 29, 2024 16:08
@klutchell klutchell force-pushed the kyle/no-systemd branch 2 times, most recently from 8f6d03a to 7e30725 Compare July 30, 2024 12:51
@klutchell klutchell requested a review from a team July 30, 2024 12:52
Dockerfile Outdated

EXPOSE 80
EXPOSE 81
FROM balena/open-balena-base:v18.0.8-no-systemd

# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
musl \

Choose a reason for hiding this comment

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

Do we still need musl? I was able to build the image locally with this entire RUN step removed so wanted to double-check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch @joshbwlng! That requirement was dropped in registry 2.7.0.

Change-type: minor
Signed-off-by: Kyle Harding <[email protected]>
This cointainer only runs a single service and running
systemd requires a lot of overhead and extra permissions.

Change-type: minor
Signed-off-by: Kyle Harding <[email protected]>
We added musl in commit e0daae8 as
it was required by registry 2.5.0.

In registry 2.7.0 they enabled CGO_ENABLED=0 via commit
distribution/distribution@8a800e1

Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
@flowzone-app flowzone-app bot merged commit 75a0bb5 into master Aug 1, 2024
48 checks passed
@flowzone-app flowzone-app bot deleted the kyle/no-systemd branch August 1, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants