This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
forked from hrektts/docker-fusiondirectory-openldap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SA-18152 Make OpenLDAP admin password changeable in upgrade scenario
- Update the version of `osixia/openldap` from 1.1.10 to 1.2.4 to use functionalites avaiable in the 1.2.4. - Delete `startup.sh.diff` which was a workaround for the issue 167 of `osixia/openldap`, since the issue is fixed in 1.2.4 of `osixia/openldap`, and the workaround is not needed anymore. osixia/docker-openldap#167 - Remove lines which setup multi-master replication from init.sh, since those setup is done in `osixia/openldap`. - Change the repository for fusiondirectory pakcages in order to fix build issue. Fusiondirectory pakcages of v1.2-1 is not available in http://repos.fusiondirectory.org/fusiondirectory-current/debian-jessie anymore. Instead of that, we need to use the following repository: http://repos.fusiondirectory.org/fusiondirectory-releases/fusiondirectory-1.2/debian-jessie
- Loading branch information
1 parent
a85ac19
commit c29b9b3
Showing
5 changed files
with
10 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM osixia/openldap:1.1.10 | ||
FROM osixia/openldap:1.2.4 | ||
LABEL maintainer="[email protected]" \ | ||
version="1.1.10-1.2-1" | ||
|
||
ENV FUSIONDIRECTORY_VERSION=1.2-1 | ||
|
||
RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys D744D55EACDA69FF \ | ||
&& (echo "deb http://repos.fusiondirectory.org/fusiondirectory-current/debian-jessie jessie main"; \ | ||
&& (echo "deb http://repos.fusiondirectory.org/fusiondirectory-releases/fusiondirectory-1.2/debian-jessie jessie main"; \ | ||
echo "deb http://repos.fusiondirectory.org/fusiondirectory-extra/debian-jessie jessie main") \ | ||
> /etc/apt/sources.list.d/fusiondirectory-jessie.list \ | ||
&& apt-get update \ | ||
|
@@ -22,10 +22,6 @@ RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys D744D55EACDA69FF \ | |
|
||
COPY init.sh /sbin/init.sh | ||
COPY init.dirs /sbin/init.dirs | ||
#this startup.sh.diff is a workaround, remove when https://github.com/osixia/docker-openldap/issues/167 fixed and incorporated | ||
COPY startup.sh.diff /tmp/startup.sh.diff | ||
RUN patch --no-backup-if-mismatch /container/service/slapd/startup.sh /tmp/startup.sh.diff | ||
RUN rm -f /tmp/startup.sh.diff | ||
RUN chmod 755 /sbin/init.sh /sbin/init.dirs /container/service/slapd/startup.sh | ||
RUN sed -i "/^FIRST_START_DONE=/aFIRST_START_DONE=/etc/ldap/slapd.d/slapd-first-start-done" /container/service/slapd/startup.sh | ||
RUN sed -i "/# create dir if they not already exists/i/sbin/init.dirs\n" /container/service/slapd/startup.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.6.0 | ||
0.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.