Skip to content

Comments

chore: replace nginx base image with busybox#366

Merged
JammingBen merged 1 commit intoopencloud-eu:mainfrom
dschmidt:chore/replace-nginx-with-busybox-base-image
Feb 19, 2026
Merged

chore: replace nginx base image with busybox#366
JammingBen merged 1 commit intoopencloud-eu:mainfrom
dschmidt:chore/replace-nginx-with-busybox-base-image

Conversation

@dschmidt
Copy link
Contributor

@dschmidt dschmidt commented Feb 18, 2026

Summary

  • Replace the ~180MB nginx base image with a ~4MB busybox image (pinned by digest)
  • OpenCloud serves web extensions directly, so the nginx web server in the container has become unused
  • Move app files to /web/apps/ to match the WEB_ASSET_APPS_PATH convention
  • Symlink /usr/share/nginx/html/web/apps for backwards compatibility with existing deployments
  • Remove nginx-specific directives (CMD, STOPSIGNAL, html dir cleanup)
  • Include app_name in the OCI image.title label

Test plan

  • Build a Docker image for one of the apps and verify the files are at /web/apps/<app_name>
  • Verify cp -r /usr/share/nginx/html/<app_name> still works via the symlink
  • Deploy the image and verify OpenCloud can load the extension from the container

@dschmidt dschmidt force-pushed the chore/replace-nginx-with-busybox-base-image branch from 0a60133 to e394b41 Compare February 18, 2026 13:13
@dschmidt dschmidt requested a review from kulmann February 18, 2026 13:17
@dschmidt dschmidt force-pushed the chore/replace-nginx-with-busybox-base-image branch from e394b41 to e7864a0 Compare February 18, 2026 13:17
@dschmidt
Copy link
Contributor Author

This changes the folder to which the apps are copied, so if anyone relies on their location in the nginx folder that needs to be adjusted now ... (or rather for every single app when it's next released ...)

Not sure if it matters too much to anyone or if we should do a new release series so that this change can be done in one go for all apps ... thoughts?

@dschmidt
Copy link
Contributor Author

... or just keep the legacy path ... a bit ugly but doesnt break anything 🤷🏻

@dschmidt dschmidt force-pushed the chore/replace-nginx-with-busybox-base-image branch from e7864a0 to 00ff537 Compare February 18, 2026 13:28
The nginx web server is no longer needed since OpenCloud serves
web extensions directly. Replace the ~180MB nginx image with a
~4MB busybox image that only provides a minimal shell and basic
utilities for file operations.

- Switch base image from nginx to busybox (pinned by digest)
- Move app files to /web/apps/ (matching WEB_ASSET_APPS_PATH convention)
- Remove nginx-specific directives (CMD, STOPSIGNAL, html cleanup)
- Include app_name in image title label
@dschmidt dschmidt force-pushed the chore/replace-nginx-with-busybox-base-image branch from 00ff537 to 7aeec6a Compare February 18, 2026 13:31
@dschmidt
Copy link
Contributor Author

dschmidt commented Feb 18, 2026

Added a backward compatibility symlink 💪🏻

Copy link
Member

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@JammingBen JammingBen merged commit e31150d into opencloud-eu:main Feb 19, 2026
5 checks passed
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.

2 participants