Skip to content

Add ubuntu/resolute dockerfile for 10.2.0 builds - #13573

Open
cmcfarlen wants to merge 1 commit into
apache:masterfrom
cmcfarlen:dockerfile-update
Open

Add ubuntu/resolute dockerfile for 10.2.0 builds#13573
cmcfarlen wants to merge 1 commit into
apache:masterfrom
cmcfarlen:dockerfile-update

Conversation

@cmcfarlen

Copy link
Copy Markdown
Contributor

Updated the Dockerfile to use ubuntu/resolute, clang22 and openssl instead of boring.

% podman run -it --rm  docker.io/trafficserver/trafficserver:latest /opt/bin/traffic_layout info --features
Trying to pull docker.io/trafficserver/trafficserver:latest...
Getting image source signatures
Copying blob 795448248960 done   |
Copying blob 06e9d71331fb done   |
Copying blob 46516aa72f5c done   |
Copying blob 9c46ef0398a7 done   |
Copying blob f3db1cd94078 done   |
Copying config 0a8e912545 done   |
Writing manifest to image destination
#define BUILD_MACHINE "buildkitsandbox"
#define BUILD_PERSON "root"
#define BUILD_GROUP "root"
#define BUILD_NUMBER "0"
#define TS_HAS_LZMA 1
#define TS_HAS_BROTLI 1
#define TS_HAS_ZSTD 1
#define TS_HAS_CERT_COMPRESSION 1
#define TS_HAS_CERT_COMPRESSION_CALLBACKS 0
#define TS_HAS_CERT_COMPRESSION_ZLIB 1
#define TS_HAS_CERT_COMPRESSION_BROTLI 0
#define TS_HAS_CERT_COMPRESSION_ZSTD 1
#define TS_HAS_CRIPTS 1
#define TS_HAS_PIPE_BUFFER_SIZE_CONFIG 1
#define TS_HAS_JEMALLOC 1
#define TS_HAS_IN6_IS_ADDR_UNSPECIFIED 1
#define TS_HAS_BACKTRACE 1
#define TS_HAS_PROFILER 0
#define TS_USE_FAST_SDK 0
#define TS_USE_DIAGS 1
#define TS_USE_CACHE_SHM 1
#define TS_USE_EPOLL 1
#define TS_USE_KQUEUE 0
#define TS_USE_POSIX_CAP 1
#define TS_USE_TPROXY 1
#define TS_HAS_SO_MARK 1
#define TS_HAS_IP_TOS 1
#define TS_USE_HWLOC 1
#define TS_USE_TLS13 1
#define TS_USE_QUIC 1
#define TS_USE_QMUX 0
#define TS_HAS_OPENSSL_QUIC 1
#define TS_HAS_QUICHE 0
#define TS_HAS_SO_PEERCRED 1
#define TS_USE_REMOTE_UNWINDING 0
#define SIZEOF_VOIDP 8
#define TS_IP_TRANSPARENT 19
#define TS_HAS_128BIT_CAS 1
#define TS_HAS_TESTS 0
#define TS_MAX_THREADS_IN_EACH_THREAD_TYPE 3072
#define TS_MAX_NUMBER_EVENT_THREADS 4096
#define TS_MAX_HOST_NAME_LEN 256
#define TS_PKGSYSUSER "nobody"
#define TS_PKGSYSGROUP "nogroup"
% podman run -it --rm  docker.io/trafficserver/trafficserver:latest /opt/bin/traffic_layout --version
Apache Traffic Server - traffic_layout - 10.2.0 - (build # 0 on Aug 19 2026 at 20:06:38)

Copilot AI lite review requested due to automatic review settings August 19, 2026 20:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants