Skip to content

Commit 36bf0c6

Browse files
committed
SOFTWARE-6355: set static condor UID/GID
This UID/GID matches our Hosted CE and HTCondor's container images
1 parent b5fd2b8 commit 36bf0c6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ FROM opensciencegrid/software-base:$BASE_OSG_SERIES-$BASE_OS-$BASE_YUM_REPO
66

77
LABEL maintainer OSG Software <help@osg-htc.org>
88

9+
# FIXME: this can be removed when we migrate to HTCSS 25 as the static
10+
# setting is provided by upstream in the RPM
11+
# SOFTWARE-6355: Ensure that the 'condor' UID/GID matches across containers
12+
RUN groupadd -g 64 -r condor && \
13+
useradd -r -g condor -d /var/lib/condor -s /sbin/nologin \
14+
-u 64 -c "Owner of HTCondor Daemons" condor
15+
916
RUN \
1017
yum update -y && \
1118
yum install -y condor && \

0 commit comments

Comments
 (0)