Fix SAS Docker build: replace unreachable internal EPEL mirror#405
Merged
Conversation
9bf1657 to
2381342
Compare
24487f7 to
f6b45ff
Compare
The SAS base image ships yum repos pointing to linuxmirror.unx.sas.com, which is unreachable outside the SAS internal network. The original Dockerfile was merged without a build test (smoke test skipped in CI) and had several latent issues. Fixes: - Disable all SAS-internal repos and enable public Red Hat UBI + EPEL - Add --allowerasing to handle curl-minimal/curl conflict in base image - Add --allowerasing to apt-get shim so runtime installs also work - Remove jq and tar from install list (already in the base image) - Fix user creation: create aou as a separate unprivileged user (auto UID) instead of conflicting with existing sas user at UID 1001. Use GID 1100 for aougroup matching the original Helm chart. - Fix docker-compose.yaml tmpfs to use uid=1002,gid=1100 - Install Java 17 (headless) for Workbench CLI; SAS continues using Java 11 via its hardcoded JAVA_HOME Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f6b45ff to
c8f65bd
Compare
pantherman594
approved these changes
May 12, 2026
michaelxiao7
approved these changes
May 12, 2026
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.
Summary
sas-analytics-pro) includes a yum repo (crackles-epel-everything) pointing tolinuxmirror.unx.sas.com, an internal SAS mirror unreachable from our build environmentyum installbecause DNS cannot resolve the mirror hostepel-releaseto provide a working public EPEL sourceTest plan
jq,curl,fuse,fuse-libs,tar,wget,sudo,git, andgcsfuseall install without errors🤖 Generated with Claude Code