Skip to content

Commit d671b69

Browse files
authored
Merge pull request #70 from aws4embeddedlinux/vm-mmap_min_addr
Dockerfile: add vm.mmap_min_addr
2 parents cd39599 + 814a372 commit d671b69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/build-image/ubuntu_22_04/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ RUN locale-gen en_US.UTF-8
3333
RUN groupadd -g 1000 yoctouser
3434
RUN useradd -u 1000 -g 1000 -m yoctouser
3535

36+
# this will fix: https://gitlab.com/qemu-project/qemu/-/issues/447
37+
RUN sysctl vm.mmap_min_addr=65536
38+
3639
# These will be mount points for an EFS volume. This allows the cache to be reused.
3740
RUN mkdir /downloads && chown -R yoctouser /downloads
3841
RUN mkdir /sstate-cache && chown -R yoctouser /sstate-cache

0 commit comments

Comments
 (0)