This repository has been archived on 2020-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
apacheds/Dockerfile

22 lines
622 B
Docker
Raw Normal View History

2020-07-14 18:40:28 +02:00
FROM java:8
MAINTAINER tormakris
ENV ADS_VERSION=2.0.0.AM26
2020-07-14 18:51:38 +02:00
ADD http://xenia.sote.hu/ftp/mirrors/www.apache.org//directory/apacheds/dist/ADS_VERSION/apacheds-ADS_VERSION.tar.gz /tmp/apacheds.tar.gz
2020-07-14 18:40:28 +02:00
2020-07-14 18:51:38 +02:00
RUN tar -C /opt -xf /tmp/apacheds.tar.gz && rm /tmp/apacheds.tar.gz
2020-07-14 18:40:28 +02:00
ENV ADS_INSTANCES=/ads \
ADS_HOME=/opt/apacheds-${ADS_VERSION}
# The default ports as described at http://directory.apache.org/apacheds/advanced-ug/1.2-network.html
EXPOSE 10389 10636 60088 60464 8080 8443
WORKDIR $ADS_HOME
RUN mkdir $ADS_INSTANCES && cp -r instances/default $ADS_INSTANCES
VOLUME ["/ads"]
ENTRYPOINT ["bin/apacheds.sh","run"]