Skip to content

Commit 090cf3c

Browse files
authored
Merge pull request #31 from brianhlin/SOFTWARE-6355.static-condor-uid-gid
SOFTWARE-6355: set static condor UID/GID
2 parents b5fd2b8 + 36bf0c6 commit 090cf3c

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)