Skip to content

Commit

Permalink
Refactor slapd-base and slapd
Browse files Browse the repository at this point in the history
As part of refactor of slapd moved the entrypoint script from
slapd-base to slapd and created Dockerfile for slapd to put it
into plase.
  • Loading branch information
skoranda committed Jun 15, 2018
1 parent fdd0d33 commit 46a74b7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
5 changes: 1 addition & 4 deletions comanage-registry-slapd-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# slapd Dockerfile template for use with COmanage Registry
# slapd base Dockerfile for use with COmanage Registry
#
# Portions licensed to the University Corporation for Advanced Internet
# Development, Inc. ("UCAID") under one or more contributor license agreements.
Expand Down Expand Up @@ -41,9 +41,6 @@ COPY voperson.ldif /etc/ldap/schema/
VOLUME [ "/var/lib/ldap", "/etc/ldap/slapd.d" ]

COPY comanage_ldap_utils.sh /usr/local/lib/
COPY docker-slapd-entrypoint /usr/local/bin/

ENTRYPOINT ["docker-slapd-entrypoint"]

EXPOSE 389

Expand Down
23 changes: 23 additions & 0 deletions comanage-registry-slapd/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# slapd Dockerfile template for use with COmanage Registry
#
# Portions licensed to the University Corporation for Advanced Internet
# Development, Inc. ("UCAID") under one or more contributor license agreements.
# See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
#
# UCAID licenses this file to you under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM sphericalcowgroup/comanage-registry-slapd-base

COPY docker-slapd-entrypoint /usr/local/bin/

ENTRYPOINT ["docker-slapd-entrypoint"]
File renamed without changes.

0 comments on commit 46a74b7

Please sign in to comment.