8f41727b7d
- Added krb5-admin-server and updated entrypoint to ensure proper initialization of the Kerberos realm. - Improved error handling for required environment variables in entrypoint script. - Updated README with additional prerequisites and client configuration instructions. - Modified env.example to remove default passwords for security. - Enhanced run-container script to set container hostname based on KDC_HOST.
18 lines
388 B
Docker
18 lines
388 B
Docker
FROM ubuntu:26.04
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
krb5-kdc \
|
|
krb5-admin-server \
|
|
krb5-config \
|
|
tini && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY entrypoint.sh /entrypoint
|
|
|
|
RUN chmod +x /entrypoint
|
|
|
|
EXPOSE 88/tcp 88/udp 464/tcp 464/udp 749/tcp
|
|
|
|
ENTRYPOINT ["tini", "--", "/entrypoint"]
|