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
8bd2279e
Commit
8bd2279e
authored
Apr 20, 2020
by
Fabio Luchetti
Browse files
Install MIT Kerberos server by default
parent
9e2d30b4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
8bd2279e
...
...
@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN
yum
-y
--nogpg
install
\
heimdal-server heimdal-workstation
\
krb5-
workstation yum-plugin-priorities
\
createrepo initscripts less nano
\
krb5-
server krb5-workstation
\
yum-plugin-priorities
createrepo initscripts less nano
\
git parallel compat-libf2c-34 libgfortran
\
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness
\
rpm-build bzip2 automake autoconf libtool
sudo
vim
\
...
...
Dockerfile.local
View file @
8bd2279e
...
...
@@ -20,7 +20,7 @@ COPY xrd.cf.* krb5.conf /etc/
ENV XRD_VERSION 4.5.0
RUN yum -y --nogpg update; \
yum -y --nogpg install \
initscripts less heimdal-server heimdal-workstation krb5-workstation \
initscripts less heimdal-server heimdal-workstation
krb5-server
krb5-workstation \
xrootd-$XRD_VERSION \
xrootd-client-$XRD_VERSION \
xrootd-client-libs-$XRD_VERSION \
...
...
Dockerfile_asan
View file @
8bd2279e
...
...
@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-
workstation yum-plugin-priorities
\
createrepo initscripts less nano \
krb5-
server krb5-workstation
\
yum-plugin-priorities
createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
...
...
Dockerfile_coverage
View file @
8bd2279e
...
...
@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-
workstation yum-plugin-priorities
\
createrepo initscripts less nano \
krb5-
server krb5-workstation
\
yum-plugin-priorities
createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
...
...
Dockerfile_xrd_testing
View file @
8bd2279e
...
...
@@ -31,8 +31,8 @@ RUN adduser eos-user
# these packages are not updated often.
RUN yum -y --nogpg install \
heimdal-server heimdal-workstation \
krb5-
workstation yum-plugin-priorities
\
createrepo initscripts less nano \
krb5-
server krb5-workstation
\
yum-plugin-priorities
createrepo initscripts less nano \
git parallel compat-libf2c-34 libgfortran \
gdb gcc-c++ cmake3 libacl-devel perl-Test-Harness \
rpm-build bzip2 automake autoconf libtool sudo vim \
...
...
image_scripts/kdc_mit.sh
View file @
8bd2279e
#!/usr/bin/env bash
# Install MIT Kerberos server
yum
install
-y
krb5-server
# Initialize the KDC database
kdb5_util create
-r
TEST.EOS
-s
-P
testeos
...
...
scripts/start_services.sh
View file @
8bd2279e
...
...
@@ -79,11 +79,7 @@ docker network create eoscluster.cern.ch || true
# Kerberos server creation and setup
echo
-e
"
\n\n
*** Kerberos server creation and setup"
docker run
-dit
-h
eos-kdc.eoscluster.cern.ch
--name
eos-kdc
--net
=
eoscluster.cern.ch
--net-alias
=
eos-kdc
$image
if
[[
"
$krb5
"
==
"heimdal"
]]
;
then
docker
exec
-i
eos-kdc /kdc.sh
else
docker
exec
-i
eos-kdc /kdc_mit.sh
fi
[[
$krb5
==
"mit"
]]
&&
docker
exec
-i
eos-kdc /kdc_mit.sh
||
docker
exec
-i
eos-kdc /kdc.sh
# MQ server creation and setup
echo
-e
"
\n\n
*** MQ server creation and setup"
...
...
@@ -96,10 +92,8 @@ docker exec -i eos-mq /eos_mq_setup.sh
# MGM server creation
echo
-e
"
\n\n
*** MGM server creation"
docker run
--privileged
-dit
-h
eos-mgm1.eoscluster.cern.ch
--name
eos-mgm1
--net
=
eoscluster.cern.ch
--net-alias
=
eos-mgm1
--ulimit
"core=-1"
--security-opt
"seccomp=unconfined"
--sysctl
net.ipv6.conf.all.disable_ipv6
=
0
$image
if
[[
$with_qdb
==
1
]]
;
then
echo
-e
"
\n\n
*** QuarkDB server creation and setup"
# Namespace library which will be loaded by the MGM should be changed to enable QuarkDB mode
...
...
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