-
Notifications
You must be signed in to change notification settings - Fork 6
fix(images): fix mirrors and versions and pin cmake version
#108
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
Conversation
The generated rootfs and kernel artifacts don't seem to work with the actual firecracker configuration. Generate them leveraging different mirrors and using an aws different version. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Contextually, replace `rootfs` base image with `ubuntu:22.04`. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Contextually, replace `rootfs` base image with `ubuntu:22.04`. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
The source directory works only for the current shell, and `gcc-9` is never used in that RUN step after activation, so remove the directive. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
In order to be sure that shell instructions in RUN steps run as intended, replace the default shell at build time with bash, enabling some safety options (`-euo pipefail`). At the moment, this is done only on rootfs images and builders. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
Install the same `cmake` version in rootfs and builder (`builder` and `modernprobe-builder` images. The `cmake` version to be installed is passed to Dockerfiles through build-args, and is kept in a separate `images/CMAKE_VERSION` file. User can override it at build time using `make CMAKE_VERSION=...`. Signed-off-by: Leonardo Di Giovanna <leonardodigiovanna1@gmail.com> Co-Authored-By: irozzo-1A <iacopo@sysdig.com>
therealbobo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekoops, therealbobo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
This PR fixes broken mirrors and replace unavailable versions for linux headers, linux tools and kernel modules/sources. Moreover, it pins the installed
cmakeversion to version3.24.4, that is the current minimum supported version by libs.Thank you to @irozzo-1A for the big support.