generated from falcosecurity/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new(pkg,docker): added an amazonlinux2 gcc10 builder.
This fixes driver build issues on al2 5.10 kernels. Signed-off-by: Federico Di Pierro <[email protected]>
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
docker/builders/builder-amazonlinux2-x86_64_gcc10.0.0.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM amazonlinux:2.0.20240529.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN yum -y install gcc10 \ | ||
clang \ | ||
llvm \ | ||
bash-completion \ | ||
bc \ | ||
ca-certificates \ | ||
curl \ | ||
gnupg2 \ | ||
libc6-dev \ | ||
elfutils-libelf-devel \ | ||
xz \ | ||
cpio \ | ||
flex \ | ||
bison \ | ||
openssl \ | ||
openssl-devel \ | ||
wget \ | ||
binutils \ | ||
which \ | ||
make \ | ||
cmake3 \ | ||
tar \ | ||
zstd \ | ||
git | ||
|
||
# Properly create soft links | ||
RUN ln -s /usr/bin/gcc10-cc /usr/bin/gcc-10.0.0 | ||
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters