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

new(docker): add cmake and git packages to builders images. #309

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Dec 1, 2023

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area build

What this PR does / why we need it:

Split from #302 ; add cmake and git packages to builder images.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

new(docker): add cmake and git to builder images

@poiana poiana added dco-signoff: yes kind/feature New feature or request area/build Further information is requested labels Dec 1, 2023
@poiana poiana added the approved label Dec 1, 2023
git

# Install cmake3.x (on centos7 `cmake` package installs cmake2.x)
RUN curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz; \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to manually install a cmake 3.x on centos:7.

@poiana poiana added the size/S label Dec 1, 2023
@@ -39,8 +39,10 @@ RUN apt-get update \
software-properties-common \
gpg \
zstd \
&& rm -rf /var/lib/apt/lists/*
cmake \
git \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need git too.
We will run cmake configuration step in full mode, even if with lots of things disabled. Unfortunately, given that libs only recently gained the ability to build the bpf probe in MINIMAL_BUILD mode, we need to configure the project in full mode, and this requires git because grpc and protobuf deps need to be fetched/cloned.

@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 1, 2023

/cc @EXONER4TED

/hold because it is friday :)

@EXONER4TED
Copy link
Contributor

Looks good to me, but I am fine with the hold because it is Friday 😅

@FedeDP
Copy link
Contributor Author

FedeDP commented Dec 12, 2023

/unhold
i think we can go on and merge this one ;)

Copy link
Contributor

@EXONER4TED EXONER4TED left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link

poiana commented Dec 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EXONER4TED, FedeDP

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit d54b1f3 into master Dec 12, 2023
4 checks passed
@poiana poiana deleted the new/add_cmake_to_builders branch December 12, 2023 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/build Further information is requested dco-signoff: yes kind/feature New feature or request lgtm size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants