stuff for tests with MySqlConnector for dotnet
This commit is contained in:
14
Dockerfile
14
Dockerfile
@ -4,10 +4,10 @@ LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
|
||||
LABEL ImageName="registry.gitlab.com/wolutator/mariadb-with-ldap-pam"
|
||||
LABEL AlternativeImageName="wollud1969/mariadb-with-ldap-pam"
|
||||
|
||||
ENV LDAPBASE "DC=hottis,DC=de"
|
||||
ENV LDAPURI "ldap://ldap.hottis.de:389"
|
||||
ENV LDAPBINDDB ""
|
||||
ENV LDAPBINDPW ""
|
||||
ENV LDAPBASE "dc=example,dc=org"
|
||||
ENV LDAPURI "ldap://ldapserver:389"
|
||||
ENV LDAPBINDDN "cn=admin,dc=example,dc=org"
|
||||
ENV LDAPBINDPW "admin"
|
||||
|
||||
RUN \
|
||||
apt-get update && \
|
||||
@ -19,6 +19,12 @@ COPY pam.conf-tail /etc
|
||||
COPY ldap.conf-tmpl /etc
|
||||
COPY load_pam_plugin.cnf /etc/mysql/conf.d
|
||||
|
||||
RUN mkdir /etc/mysql/conf.d/ssl
|
||||
|
||||
COPY test/ca.pem /etc/mysql/conf.d/ssl/
|
||||
COPY test/server-cert.pem /etc/mysql/conf.d/ssl/
|
||||
COPY test/server-key.pem /etc/mysql/conf.d/ssl/
|
||||
|
||||
RUN \
|
||||
cd /usr/local/bin && \
|
||||
tail -n +2 docker-entrypoint.sh > docker-entrypoint.sh-tail && \
|
||||
|
Reference in New Issue
Block a user