Add ubuntu/resolute dockerfile for 10.2.0 builds - #13573
Open
cmcfarlen wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new container build recipe under contrib/docker/ubuntu/ to produce an Apache Traffic Server 10.2.0 image based on Ubuntu resolute, using LLVM/Clang 22 and system OpenSSL (rather than the existing noble image’s BoringSSL-based build).
Changes:
- Introduces a new multi-stage Dockerfile that builds ATS 10.2.0 from source on
ubuntu:resolute. - Switches the toolchain to LLVM/Clang 22 (with LLD) and links against distro-provided OpenSSL.
- Defines a runtime image with the required shared-library dependencies and installs ATS into
/opt.
Suppressed comments (1)
contrib/docker/ubuntu/resolute/Dockerfile:80
- The build is hard-coded to clang-22/clang++-22 even though LLVM_VERSION is an ARG. This makes LLVM_VERSION misleading and will break if it’s overridden at build time. Use clang-${LLVM_VERSION} consistently (or rely on cc/c++ after update-alternatives).
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_C_COMPILER=clang-22 \
-DCMAKE_CXX_COMPILER=clang++-22 \
-DCMAKE_LINKER_TYPE=LLD \
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| libjansson-dev \ | ||
| && apt clean --yes | ||
|
|
||
| # Set up cc (and optionally c++) to use clang-18 via alternatives |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated the Dockerfile to use ubuntu/resolute, clang22 and openssl instead of boring.