add copy custom config and fix env
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d273f71d29
commit
6722e1e5fd
@ -4,7 +4,7 @@ MAINTAINER tormakris
|
|||||||
|
|
||||||
ENV ADS_VERSION=2.0.0.AM26
|
ENV ADS_VERSION=2.0.0.AM26
|
||||||
|
|
||||||
ADD http://xenia.sote.hu/ftp/mirrors/www.apache.org//directory/apacheds/dist/ADS_VERSION/apacheds-ADS_VERSION.tar.gz /tmp/apacheds.tar.gz
|
ADD http://xenia.sote.hu/ftp/mirrors/www.apache.org//directory/apacheds/dist/${ADS_VERSION}/apacheds-${ADS_VERSION}.tar.gz /tmp/apacheds.tar.gz
|
||||||
|
|
||||||
RUN tar -C /opt -xf /tmp/apacheds.tar.gz && rm /tmp/apacheds.tar.gz
|
RUN tar -C /opt -xf /tmp/apacheds.tar.gz && rm /tmp/apacheds.tar.gz
|
||||||
|
|
||||||
@ -17,6 +17,8 @@ EXPOSE 10389 10636 60088 60464 8080 8443
|
|||||||
WORKDIR $ADS_HOME
|
WORKDIR $ADS_HOME
|
||||||
RUN mkdir $ADS_INSTANCES && cp -r instances/default $ADS_INSTANCES
|
RUN mkdir $ADS_INSTANCES && cp -r instances/default $ADS_INSTANCES
|
||||||
|
|
||||||
|
COPY ou=config.ldif $ADS_INSTANCES/default/conf/ou=config.ldif
|
||||||
|
|
||||||
VOLUME ["/ads"]
|
VOLUME ["/ads"]
|
||||||
|
|
||||||
ENTRYPOINT ["bin/apacheds.sh","run"]
|
ENTRYPOINT ["bin/apacheds.sh","run"]
|
Reference in New Issue
Block a user