Skip to content

Commit

Permalink
Dockerfile: fixing /var/run/xrootd and /var/spool/xrootd
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Nov 23, 2021
1 parent 164040e commit 31210aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ ENV JAVA_HOME=/etc/alternatives/jre
ENV LD_LIBRARY_PATH=/opt/hadoop/lib/native:/etc/alternatives/jre/lib/amd64/server
ENV CLASSPATH=/etc/hadoop/conf.cloudera.hdfs:/opt/hadoop/share/hadoop/client/*:/opt/hadoop/share/hadoop/common/lib/*:/opt/hadoop/share/hadoop/common/*:/opt/hadoop/share/hadoop/hdfs:/opt/hadoop/share/hadoop/hdfs/lib/*:/opt/hadoop/share/hadoop/hdfs/*:/opt/hadoop/share/hadoop/mapreduce/*:/opt/hadoop/share/hadoop/yarn:/opt/hadoop/share/hadoop/yarn/lib/*:/opt/hadoop/share/hadoop/yarn/*

# xrootd folder fixes
RUN mkdir -p /var/run/xrootd /var/spool/xrootd \
&& chown xrootd:xrootd /var/run/xrootd /var/spool/xrootd

VOLUME /xrootd

COPY etc/supervisord.conf /etc/supervisord.conf
Expand Down
1 change: 0 additions & 1 deletion etc/systemd/system/docker.xrootdgateway.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ExecStartPre=-/usr/bin/docker kill xrootd-se
ExecStart=/usr/bin/docker run --rm --name %n \
--hostname=xrootdsefqdn \
-v /var/log/xrootd:/var/log/xrootd \
-v /var/run/xrootd:/var/run/xrootd \
-v /opt/xrootd-se/etc/xrootd:/etc/xrootd:ro \
-v /opt/xrootd-se/etc/supervisord.d:/etc/supervisord.d:ro \
-v /opt/xrootd-se/.secrets/prod:/.secrets:ro \
Expand Down
1 change: 0 additions & 1 deletion etc/systemd/system/docker.xrootdse.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ExecStartPre=-/usr/bin/docker kill xrootd-se
ExecStart=/usr/bin/docker run --rm --name %n \
--hostname=xrootdsefqdn \
-v /var/log/xrootd:/var/log/xrootd \
-v /var/run/xrootd:/var/run/xrootd \
-v /opt/xrootd-se/etc/xrootd:/etc/xrootd:ro \
-v /opt/xrootd-se/etc/supervisord.d:/etc/supervisord.d:ro \
-v /opt/xrootd-se/.secrets/prod:/.secrets:ro \
Expand Down

0 comments on commit 31210aa

Please sign in to comment.