Skip to content

Commit

Permalink
Merge pull request #3288 from Uninett/feature/upgrade-other-docker-im…
Browse files Browse the repository at this point in the history
…ages-to-bookworm

Upgrade auxiliary Docker images to Debian Bookworm
  • Loading branch information
lunkwill42 authored Feb 20, 2025
2 parents a43a2e7 + 1e148e5 commit 8372b9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
1 change: 1 addition & 0 deletions changelog.d/+auxiliary-docker-bookworm.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgraded auxiliary Docker images (Graphite, snmp forwarder) to Debian Bookworm
14 changes: 5 additions & 9 deletions tools/docker/graphite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
FROM debian:buster
FROM debian:bookworm

#### Prepare the OS base setup ###

ENV DEBIAN_FRONTEND noninteractive

RUN echo 'deb-src http://deb.debian.org/debian buster main' >> /etc/apt/sources.list.d/srcpkg.list && \
echo 'deb-src http://security.debian.org/debian-security buster/updates main' >> /etc/apt/sources.list.d/srcpkg.list && \
echo 'deb-src http://deb.debian.org/debian buster-updates main' >> /etc/apt/sources.list.d/srcpkg.list
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get -y --no-install-recommends install \
locales \
sudo python3 supervisor \
gnupg debian-keyring debian-archive-keyring ca-certificates
gnupg debian-keyring debian-archive-keyring ca-certificates

ARG TIMEZONE=Europe/Oslo
ARG LOCALE=en_US.UTF-8
ARG ENCODING=UTF-8
RUN echo "${LOCALE} ${ENCODING}" > /etc/locale.gen && locale-gen ${LOCALE} && update-locale LANG=${LOCALE} LC_ALL=${LOCALE}
ENV LANG ${LOCALE}
ENV LC_ALL ${LOCALE}
ENV LANG=${LOCALE}
ENV LC_ALL=${LOCALE}
RUN echo "${TIMEZONE}" > /etc/timezone && cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime

RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion tools/forward/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye
FROM debian:bookworm
RUN apt-get update && apt-get install -y openssh-server socat sudo tini
RUN echo '%adm ALL=NOPASSWD: /usr/bin/socat' > /etc/sudoers.d/socat
RUN chmod 0440 /etc/sudoers.d/socat
Expand Down

0 comments on commit 8372b9f

Please sign in to comment.