diff --git a/Dockerfile b/Dockerfile index 0237d8e..bad57b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,10 @@ FROM python:3.9-bullseye ARG editor_packages="vim" +ARG pager_packages="less" + +ARG locale="en_US.UTF-8" +ARG charset="UTF-8" # Install editors and tools of your choice ARG DEBIAN_FRONTEND=noninteractive @@ -10,10 +14,16 @@ RUN \ apt-get update && \ apt-get install -y \ ${editor_packages} \ + ${pager_packages} \ + locales \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/ +RUN \ + echo "${locale} ${charset}" | tee /etc/locale.gen \ + && locale-gen + RUN pip3 install --no-cache pipenv COPY ./Pipfile /sncli/