From d442e40fcdcf44402adda658b658489599ccc66b Mon Sep 17 00:00:00 2001 From: David Binney Date: Tue, 18 Jun 2024 20:06:17 +0930 Subject: [PATCH] wip: bounce to debian buster + mongo --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9a2f46..c076c89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Description: Dockerfile for the Sleeper service -FROM debian:buster-slim +FROM debian:bookworm-slim # Metadata ARG VERSION=latest @@ -15,7 +15,7 @@ COPY ./*.sh /app/ # Update and install basic tools RUN apt-get update && apt-get install -y \ - dnsutils netcat curl wget tar gnupg vim tmux zsh screenfetch && \ + dnsutils netcat-openbsd curl wget tar gnupg vim tmux zsh screenfetch && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* @@ -37,8 +37,8 @@ RUN apt-get update && apt-get install -y \ rm -rf /var/lib/apt/lists/* # Install MongoDB tools -RUN wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add - && \ - echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list && \ +RUN curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor && \ + echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list && \ apt-get update && apt-get install -y mongodb-org-tools && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*