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

feat!: redirect folders to /opt/containerbase #2090

Merged
merged 10 commits into from
May 31, 2024
Merged

Conversation

viceice
Copy link
Member

@viceice viceice commented Jan 31, 2024

It should now be possible to use a readonly filesystem as root.
You need to mount writable volumes to /tmp and /opt/containerbase.


⚠️ Additional commit message:

BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.

@rarkins
Copy link
Member

rarkins commented Feb 5, 2024

Can it be tested in practice or are we limited to theory?

@viceice
Copy link
Member Author

viceice commented Feb 5, 2024

Can it be tested in practice or are we limited to theory?

Will prepare some test which can be run manually.

@viceice viceice changed the title feat!: support readonly root filesystem feat!: redirect folders to /opt/containerbase Feb 13, 2024
@viceice viceice force-pushed the feat/readonly-root branch from cfb9bca to 29edd88 Compare May 30, 2024 14:22
@viceice viceice marked this pull request as ready for review May 31, 2024 11:02
@viceice viceice requested a review from rarkins May 31, 2024 11:02
@viceice viceice added the breaking Breaking change, requires major version bump label May 31, 2024
@viceice viceice added this to the v11 milestone May 31, 2024
test/node/Dockerfile Outdated Show resolved Hide resolved
test/node/Dockerfile Outdated Show resolved Hide resolved
@viceice viceice changed the base branch from main to rel/v11 May 31, 2024 11:36
@viceice viceice merged commit 6828271 into rel/v11 May 31, 2024
8 checks passed
@viceice viceice deleted the feat/readonly-root branch May 31, 2024 11:38
viceice added a commit that referenced this pull request May 31, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request May 31, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jun 3, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jun 4, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jun 4, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jun 4, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 1, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 2, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 2, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 2, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 3, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 3, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 3, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 3, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 4, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 8, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 22, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 24, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
viceice added a commit that referenced this pull request Jul 24, 2024
BREAKING CHANGE: Containerbase binaries are moved, read custom image guide.
The paths `/usr/local/{bin,lib}` are now symlinks to `/opt/comntainerbase/{bin,lib}`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change, requires major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants