Skip to content

Commit 983d461

Browse files
authored
Merge pull request #97 from brianhlin/SOFTWARE-5464.origin-sssd-support
Add SSSD support (SOFTWARE-5464)
2 parents 8c2bbc3 + a94b371 commit 983d461

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,13 @@ ENV XC_IMAGE_NAME stash-origin
174174
# Files and dirs should be readable to UID/GID 10940:10940 or the world
175175
ENV XC_FIX_DIR_OWNERS no
176176

177-
RUN yum install -y stash-origin && \
177+
# Add support for SSSD (SOFTWARE-5464)
178+
# sssd UID must match between the origin and SSSD sidecar containers
179+
RUN groupadd -r -g 10996 sssd \
180+
&& useradd -r -g sssd -u 10996 -d / -s /usr/sbin/nologin -c "System user for sssd" sssd
181+
182+
RUN yum install -y stash-origin \
183+
sssd && \
178184
yum clean all --enablerepo=* && rm -rf /var/cache/yum/
179185

180186
COPY stash-origin/cron.d/* /etc/cron.d/

0 commit comments

Comments
 (0)