1- FROM ubuntu:noble
1+ FROM ubuntu:jammy
22
33ARG node_version=14
44ARG DEBIAN_FRONTEND=noninteractive
@@ -22,21 +22,21 @@ RUN apt update
2222RUN apt-get -y install sudo
2323
2424# Add PostgreSQL repository and install PostgreSQL 11
25- RUN echo "deb https ://apt.postgresql.org/pub/repos/apt/ noble -pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
25+ RUN echo "deb http ://apt.postgresql.org/pub/repos/apt/ jammy -pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
2626 curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
2727 apt-get update && \
28- apt-get install -y postgresql postgresql-contrib postgresql-client
28+ apt-get install -y postgresql-11 postgresql-contrib-11 postgresql-client
2929
3030# Configure such that remote connections to the database are possible.
31- RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/17 /main/pg_hba.conf
32- RUN echo "listen_addresses='*'" >> /etc/postgresql/17 /main/postgresql.conf
31+ RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/11 /main/pg_hba.conf
32+ RUN echo "listen_addresses='*'" >> /etc/postgresql/11 /main/postgresql.conf
3333
3434# Add VOLUMEs to allow backup of config, logs and databases
3535VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"]
3636EXPOSE 5432
3737
3838# RethinkDB
39- RUN echo "deb https://download.rethinkdb.com/repository/ubuntu-noble noble main" > /etc/apt/sources.list.d/rethinkdb.list
39+ RUN echo "deb https://download.rethinkdb.com/repository/ubuntu-jammy jammy main" > /etc/apt/sources.list.d/rethinkdb.list
4040RUN wget -qO- https://download.rethinkdb.com/repository/raw/pubkey.gpg | sudo apt-key add -v - && apt-get update && apt-get install -y rethinkdb
4141RUN rm -rf /var/lib/apt/lists/*
4242VOLUME ["/etc/rethinkdb", "/var/log/rethinkdb", "/var/lib/rethinkdb"]
@@ -48,6 +48,7 @@ RUN wget http://repo.mysql.com/mysql-apt-config_0.8.34-1_all.deb
4848RUN apt update
4949RUN apt install -y lsb-release ./mysql-apt-config_0.8.34-1_all.deb
5050RUN apt install mariadb-server mariadb-client -y
51+ RUN apt --fix-broken install
5152VOLUME ["/etc/mysql", "/var/lib/mysql"]
5253EXPOSE 3306
5354
@@ -65,7 +66,7 @@ EXPOSE 8
6566RUN apt-get update && \
6667 apt-get install -y gnupg curl && \
6768 curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | apt-key add - && \
68- echo "deb http://repo.mongodb.org/apt/ubuntu noble /mongodb-org/8.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-8.0.list && \
69+ echo "deb http://repo.mongodb.org/apt/ubuntu jammy /mongodb-org/8.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-8.0.list && \
6970 apt-get update
7071
7172# Install MongoDB
0 commit comments