FROM debian:trixie-slim as linux

MAINTAINER Eric Coissac "eric@coissac.eu"

RUN apt-get update && \
    apt-get install -y \
        libnss-ldapd \
        openssh-server \
    && apt-get clean 


ENV LANG=fr_FR.UTF-8
RUN sed -i -e "s/# $LANG.*/$LANG UTF-8/" /etc/locale.gen && \
    dpkg-reconfigure --frontend=noninteractive locales && \
    update-locale LANG=$LANG

