ClickHouse/docker/test/integration/kerberos_kdc/Dockerfile

16 lines
483 B
Docker
Raw Normal View History

2021-09-06 11:33:39 +00:00
# docker build -t clickhouse/kerberos-kdc .
2021-09-09 20:29:42 +00:00
FROM centos:6
RUN sed -i '/^mirrorlist/s/^/#/;/^#baseurl/{s/#//;s/mirror.centos.org\/centos\/$releasever/vault.centos.org\/6.10/}' /etc/yum.repos.d/*B*
2021-09-08 09:58:17 +00:00
RUN yum install -y ca-certificates krb5-server krb5-libs krb5-auth-dialog krb5-workstation
EXPOSE 88 749
RUN touch /config.sh
# should be overwritten e.g. via docker_compose volumes
# volumes: /some_path/my_kerberos_config.sh:/config.sh:ro
ENTRYPOINT ["/bin/bash", "/config.sh"]