Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asapo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joao Alvim Oliveira Dias De Almeida
asapo
Commits
b7d4030f
Commit
b7d4030f
authored
3 years ago
by
George Sedov
Browse files
Options
Downloads
Patches
Plain Diff
update docker
parent
b7b7b3f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/build_env/services-linux/Dockerfile
+47
-0
47 additions, 0 deletions
deploy/build_env/services-linux/Dockerfile
with
47 additions
and
0 deletions
deploy/build_env/services-linux/Dockerfile
+
47
−
0
View file @
b7d4030f
...
...
@@ -71,11 +71,58 @@ telemetry = {\n\
prometheus_retention_time =
\"
24h
\"\n\
}"
>
/etc/consul.d/consul.hcl
RUN
echo
"include /etc/ldap/schema/core.schema
\n\
include /etc/ldap/schema/cosine.schema
\n\
include /etc/ldap/schema/nis.schema
\n\
modulepath /usr/lib/ldap
\n\
moduleload back_bdb.so
\n\
pidfile /var/run/slapd/slapd.pid
\n\
access to * by * write
\n\
access to * by * manage
\n\
access to * by * read
\n\
allow bind_anon_cred
\n\
allow bind_anon_dn
\n\
allow update_anon
\n\
database bdb
\n\
suffix
\"
ou=rgy,o=desy,c=de
\"\n\
"
>
/etc/ldap/slapd.conf
RUN
rm
-rf
/etc/ldap/slapd.d
RUN
echo
"dn: ou=rgy,o=desy,c=de
\n\
objectclass: organizationalUnit
\n\
ou: rgy
\n\
\n\
dn: ou=netgroup,ou=rgy,o=desy,c=de
\n\
objectclass: organizationalUnit
\n\
ou: netgroup
\n\
\n\
dn: cn=a3p00-hosts,ou=netgroup,ou=rgy,o=desy,c=de
\n\
objectClass :top
\n\
objectClass :nisNetgroup
\n\
cn:a3p00-hosts
\n\
description: Netgroup for nodes on PETRA III Beamline P00
\n\
nisNetgroupTriple: (blabla,-,)
\n\
nisNetgroupTriple: (localhost,-,)
\n\
nisNetgroupTriple: (blabla2,-,)
\n\
\n\
dn: cn=a3p07-hosts,ou=netgroup,ou=rgy,o=desy,c=de
\n\
objectClass :top
\n\
objectClass :nisNetgroup
\n\
cn:a3p07-hosts
\n\
description: Netgroup for nodes on PETRA III Beamline P07
\n\
nisNetgroupTriple: (blabla,-,)
\n\
nisNetgroupTriple: (localhost,-,)
\n\
nisNetgroupTriple: (blabla2,-,)
\n\
"
>
/etc/ldap/record.ldif
RUN
echo
"
\n\
/usr/bin/nomad agent -config /etc/nomad.d &> /dev/null &
\n\
/usr/bin/consul agent -config-dir=/etc/consul.d/ &> /dev/null &
\n\
service slapd start
\n\
service mongod start
\n\
\n\
ldapadd -x -D
\"
ou=rgy,o=desy,c=de
\"
-f /etc/ldap/record.ldif -h localhost
\n\
"
>
/services_start.sh
CMD
["bash", "/services_start.sh"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment