This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Commit 5f9db69
authored
feature: use-distro-packages (#35)
* remove grpc, abseil, curl and openssl compilation
* fix resolution of grpc cpp plugin
* only fetch submodules if we're building the container
* add a user to the build environment rather than working from root
* fix $HOME env variable
* consolidate apt-get in base Dockerfile
* move bcc package requirement to base
* move libbpf package requirements to base
* move libuv removal to base image
* set base username
* add explicit error prints to user verification
* add sudo package
* consolidate package installations and add sudo
* fix PATH
* add debug print to bcc
* export PATH to .bashrc in base container
* write to .profile so /bin/sh will pick up
* bring libuv1 removal back to the uv container as it was removing cmake
* add chown on copying bcc files
* add chown to COPY in libuv
* hardcode uid, gid for test
* export UID and GID as env variables for chown
* add chown statements to all relevant COPY statements
* add ssh and ag to packages in final
* switch to multi-line RUN to get Docker to allow multi-line
* remove CFLAGS setting, it seems to end up empty anyway
* create output directory
* reset UNAME for LZ4 which seems to depend on it
* fix lz4 builds
* reduce container sizes by making them into multi-stage builds
* re-comment clause that was accidentally un-commented
* add protoc flag (required since we apparently downgraded protoc versions)
* add missing library dependencies
* remove the now redundant Dockerfiles and submodules, and their mentions in the GHA
* switch to podman for building images
* add missing package
* update to bookworm
* add libpolly, required by bcc
* add CMAKE_BUILD_TYPE and BUILD_CFLAGS arguments
* bcc build examins the git repo, so check a standalone version
* install python libs via apt, as suggested by pip3
* fix apt install clause
* auto-run workflow on push and PR, with dry run
* disable fossa and ossf-scorecard on contributor repos
* add --break-system-packages to `pip3 install pcpp` since an apt package is not available for bookworm
* reorder less-changing layers in final to earlier position, to leverage layer caching
* add uidmap, required by podman
* fix permissions for podman to work inside the build environment
* remove flotsam (oops)
* set clang-tidy and clang-format to version 16
* add slirp4netns for podman
* remove the pull request trigger; it does not have permissions to push to ghcr1 parent 00c6c7e commit 5f9db69
File tree
24 files changed
+273
-512
lines changed- .github
- actions/build-push-container
- workflows
- abseil_cpp
- aws_sdk
- base
- bcc
- cpp_misc
- curl
- final
- gcp_cpp
- go
- grpc_cpp
- libbpf
- libmaxminddb
- libuv
- openssl
- opentelemetry
24 files changed
+273
-512
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 57 | | |
67 | 58 | | |
68 | 59 | | |
| |||
74 | 65 | | |
75 | 66 | | |
76 | 67 | | |
77 | | - | |
78 | 68 | | |
79 | 69 | | |
80 | 70 | | |
81 | 71 | | |
82 | | - | |
83 | 72 | | |
84 | 73 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
91 | 78 | | |
92 | 79 | | |
93 | 80 | | |
94 | | - | |
| 81 | + | |
95 | 82 | | |
96 | 83 | | |
97 | 84 | | |
| |||
187 | 174 | | |
188 | 175 | | |
189 | 176 | | |
190 | | - | |
191 | 177 | | |
192 | 178 | | |
193 | 179 | | |
| |||
220 | 206 | | |
221 | 207 | | |
222 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
223 | 220 | | |
224 | 221 | | |
225 | 222 | | |
| |||
240 | 237 | | |
241 | 238 | | |
242 | 239 | | |
243 | | - | |
244 | 240 | | |
245 | 241 | | |
246 | 242 | | |
247 | 243 | | |
248 | | - | |
249 | 244 | | |
250 | 245 | | |
251 | | - | |
252 | | - | |
253 | 246 | | |
254 | 247 | | |
255 | 248 | | |
| |||
264 | 257 | | |
265 | 258 | | |
266 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
267 | 269 | | |
268 | 270 | | |
269 | 271 | | |
| |||
0 commit comments