Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
eos-docker
Commits
056d47ca
Commit
056d47ca
authored
Mar 15, 2019
by
Fabio Luchetti
Browse files
Added forwardable keytab generation in 'ubuntu_client' and 'xrd_testing' Dockerfile.
parent
517d5ae8
Pipeline
#756392
skipped with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
056d47ca
...
...
@@ -48,11 +48,8 @@ RUN createrepo ${EOSREPODIR}; \
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud Infrastructure; you can remove these lines if you don't need one.
RUN
mkdir
/root/.xrd
;
\
mv
/etc/eos.keytab /root/.xrd/sss.keytab
;
\
xrdsssadmin
-k
eos-test del
;
\
xrdsssadmin
-u
daemon
-g
daemon
-k
eos-test+
-n
1234567890123456789 add
;
\
mv
/root/.xrd/sss.keytab /etc/eos.keytab
;
\
RUN
xrdsssadmin
-k
eos-test del /etc/eos.keytab
;
\
xrdsssadmin
-u
daemon
-g
daemon
-k
eos-test+
-n
1234567890123456789 add /etc/eos.keytab
;
\
chown
daemon:daemon /etc/eos.keytab
ENTRYPOINT
["/bin/bash"]
Dockerfile_xrd_testing
View file @
056d47ca
...
...
@@ -47,4 +47,10 @@ RUN createrepo ${EOSREPODIR}; \
eos-server eos-testkeytab eos-archive eos-client \
eos-debuginfo eos-fuse eos-fusex eos-test
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud Infrastructure; you can remove these lines if you don't need one.
RUN xrdsssadmin -k eos-test del /etc/eos.keytab; \
xrdsssadmin -u daemon -g daemon -k eos-test+ -n 1234567890123456789 add /etc/eos.keytab; \
chown daemon:daemon /etc/eos.keytab
ENTRYPOINT ["/bin/bash"]
ubuntu_client/Dockerfile
View file @
056d47ca
...
...
@@ -49,4 +49,10 @@ RUN apt-get install -y eos-client eos-fusex xrootd-client-dbgsym xrootd-client-d
xrootd-client xrootd-devel xrootd-libs-dbgsym xrootd-libs xrootd-private-devel
\
eos-test eos-testkeytab
# Generate a new forwardable keytab 'eos-test+' to replace the not-forwardable one (installed by the eos-testkeytab package).
# This is useful to deploy EOS on Kubernetes clusters running on CERN's Cloud Infrastructure; you can remove these lines if you don't need one.
RUN
xrdsssadmin
-k
eos-test del /etc/eos.keytab
;
\
xrdsssadmin
-u
daemon
-g
daemon
-k
eos-test+
-n
1234567890123456789 add /etc/eos.keytab
;
\
chown
daemon:daemon /etc/eos.keytab
ENTRYPOINT
["/bin/bash"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment