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

Dockerfile: add vm.mmap_min_addr #70

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions assets/build-image/ubuntu_22_04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ RUN locale-gen en_US.UTF-8
RUN groupadd -g 1000 yoctouser
RUN useradd -u 1000 -g 1000 -m yoctouser

# this will fix: https://gitlab.com/qemu-project/qemu/-/issues/447
RUN sysctl vm.mmap_min_addr=65536

# These will be mount points for an EFS volume. This allows the cache to be reused.
RUN mkdir /downloads && chown -R yoctouser /downloads
RUN mkdir /sstate-cache && chown -R yoctouser /sstate-cache
Expand Down
Loading