Skip to content

Commit

Permalink
wip: bounce to debian buster + mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
donkeyx committed Jun 18, 2024
1 parent 8f70907 commit d442e40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Description: Dockerfile for the Sleeper service
FROM debian:buster-slim
FROM debian:bookworm-slim

# Metadata
ARG VERSION=latest
Expand All @@ -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/*

Expand All @@ -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/*
Expand Down

0 comments on commit d442e40

Please sign in to comment.