1- FROM python:3.9-bullseye
1+ FROM python:3.9-bookworm
22LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
33
44ENV DEBIAN_FRONTEND=noninteractive
@@ -14,6 +14,9 @@ RUN apt-get install -y --no-install-recommends ca-certificates curl gnupg \
1414 && mkdir -p /etc/apt/keyrings\
1515 && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
1616RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
17+ RUN echo "Package: nodejs" >> /etc/apt/preferences.d/preferences && \
18+ echo "Pin: origin deb.nodesource.com" >> /etc/apt/preferences.d/preferences && \
19+ echo "Pin-Priority: 1001" >> /etc/apt/preferences.d/preferences
1720
1821# Add Docker Source
1922RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
@@ -56,12 +59,13 @@ RUN apt-get update --fix-missing && apt-get install -qy --no-install-recommends
5659 libmagic-dev \
5760 libmariadb-dev \
5861 libmemcached-tools \
62+ libyang2-tools \
5963 locales \
6064 make \
6165 mariadb-client \
6266 memcached \
6367 nano \
64- netcat \
68+ netcat-traditional \
6569 nodejs \
6670 pgloader \
6771 pigz \
@@ -77,7 +81,6 @@ RUN apt-get update --fix-missing && apt-get install -qy --no-install-recommends
7781 wget \
7882 xauth \
7983 xvfb \
80- yang-tools \
8184 zsh
8285
8386# Install kramdown-rfc2629 (ruby)
@@ -106,11 +109,11 @@ RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /va
106109ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
107110
108111# avoid million NPM install messages
109- ENV npm_config_loglevel warn
112+ ENV npm_config_loglevel= warn
110113# allow installing when the main user is root
111- ENV npm_config_unsafe_perm true
114+ ENV npm_config_unsafe_perm= true
112115# disable NPM funding messages
113- ENV npm_config_fund false
116+ ENV npm_config_fund= false
114117
115118# Set locale to en_US.UTF-8
116119RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
@@ -119,7 +122,7 @@ RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
119122 dpkg-reconfigure locales && \
120123 locale-gen en_US.UTF-8 && \
121124 update-locale LC_ALL en_US.UTF-8
122- ENV LC_ALL en_US.UTF-8
125+ ENV LC_ALL= en_US.UTF-8
123126
124127# Install idnits
125128ADD https://raw.githubusercontent.com/ietf-tools/idnits-mirror/main/idnits /usr/local/bin/
0 commit comments