Skip to content

Add AL2023 Dockerfile equivalent to Deadline Cloud SMF worker AMI#207

Merged
leongdl merged 1 commit intoaws-deadline:mainlinefrom
leongdl:SMF-dockerfile
Apr 21, 2026
Merged

Add AL2023 Dockerfile equivalent to Deadline Cloud SMF worker AMI#207
leongdl merged 1 commit intoaws-deadline:mainlinefrom
leongdl:SMF-dockerfile

Conversation

@leongdl
Copy link
Copy Markdown
Contributor

@leongdl leongdl commented Apr 21, 2026

Add AL2023 Dockerfile equivalent to Deadline Cloud SMF worker AMI

Replicates an April 2026 snapshot of the AWS Deadline Cloud service-managed fleet (SMF) worker AMI environment on top of the base Amazon Linux 2023 image. This is a point-in-time capture, not a continuously synchronized version —the actual worker AMI may drift as packages are added or updated.

This example can be updated as questions or bugs are encountered.

Useful for building and testing conda packages locally with matching GLIBC and library versions.

Fixes: NA

What was the problem/requirement? (What/Why)

Building and testing conda packages for Deadline Cloud SMF workers requires matching the exact system library versions (GLIBC, Mesa, X11, etc.) present on the worker AMI. Without a local equivalent, developers either test directly on workers (slow feedback loop) or use a generic AL2023 image that's missing ~480 packages the worker has, leading to "works locally, breaks on worker" issues.

What was the solution? (How)

Reproduced a Deadline SMF like software environment with the following set of packages.

  1. Core system tools and utilities
  2. Build toolchain (GCC, binutils, kernel headers)
  3. X11, Mesa/OpenGL, Wayland — headless rendering deps
  4. Image/media libraries (libjpeg, libpng, libtiff, libwebp)
  5. Networking, NFS, SSSD, security
  6. Git and Perl
  7. Python 3.11
  8. Docker + containerd
  9. Misc libraries (boost, jemalloc, tbb, etc.)

EC2-specific packages (SSM agent, CloudWatch agent, NVIDIA toolkit, kernel modules) are intentionally excluded with comments explaining why and how to add GPU support if needed.

What is the impact of this change?

No impact on existing samples. This adds a new Dockerfile under containers/al2023-deadline/ that developers can use to replicate the SMF worker environment locally for conda package development and testing.

How was this change tested?

  • Built the image locally with docker build:
    docker build -f containers/al2023-deadline/Dockerfile.worker-equivalent -t al2023-deadline-worker:latest .
    
  • Build completed successfully, all 10 layers installed without errors.
  • Verified the resulting image contains the expected packages (GCC, Mesa, X11, Python 3.11, etc.).
  • Used the image as a base for building and testing Blender 5.1 conda packages with rattler-build, confirming GLIBC and library compatibility with the real SMF worker environment.

Was this change documented?

The Dockerfile includes inline comments explaining each layer, the rationale for excluded packages, and instructions for adding NVIDIA GPU support.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions github-actions Bot added the waiting-on-maintainers Waiting on the maintainers to review. label Apr 21, 2026
@leongdl leongdl marked this pull request as ready for review April 21, 2026 23:07
@leongdl leongdl requested a review from a team as a code owner April 21, 2026 23:07
Comment thread containers/al2023-deadline/Dockerfile.worker-equivalent Outdated
Comment thread containers/al2023-deadline/Dockerfile.worker-equivalent
Replicates the ~480 packages installed on top of base AL2023 Minimal AMI
on Deadline Cloud service-managed fleet workers. Organized into logical
layers: system tools, build toolchain, X11/Mesa/OpenGL, image libs,
networking/NFS, Git, Python 3.11, Docker/containerd, and misc libraries.

Useful for building and testing conda packages locally with matching
GLIBC and library versions.

Signed-off-by: David Leong <116610336+leongdl@users.noreply.github.com>
@leongdl leongdl merged commit 8daf296 into aws-deadline:mainline Apr 21, 2026
4 checks passed
@leongdl leongdl deleted the SMF-dockerfile branch April 21, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants