We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize the dockerfile file and add the function of customizing the ldif file
` FROM gcr.io/distroless/java:8 MAINTAINER Josef (kwart) Cacek [email protected]
COPY target/ldap-server.jar /ldap-server.jar
ENV LDIF_FILE=/ldap-server-users.ldif
COPY users.ldif /ldap-server-users.ldif
EXPOSE 389 636
ENTRYPOINT ["/usr/bin/java", "-jar", "/ldap-server.jar"] CMD ["-a", "-p", "389", "-sp", "636", "-b", "0.0.0.0", "${LDIF_FILE}"]
`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Optimize the dockerfile file and add the function of customizing the ldif file
`
FROM gcr.io/distroless/java:8
MAINTAINER Josef (kwart) Cacek [email protected]
COPY target/ldap-server.jar /ldap-server.jar
ENV LDIF_FILE=/ldap-server-users.ldif
COPY users.ldif /ldap-server-users.ldif
EXPOSE 389 636
ENTRYPOINT ["/usr/bin/java", "-jar", "/ldap-server.jar"]
CMD ["-a", "-p", "389", "-sp", "636", "-b", "0.0.0.0", "${LDIF_FILE}"]
`
The text was updated successfully, but these errors were encountered: