From f260e607bf3f5def02d6eca1aa571a9faea250de Mon Sep 17 00:00:00 2001 From: Patrick Gansterer Date: Sun, 20 Feb 2022 04:13:36 +0100 Subject: [PATCH] Fix Dockerfile with Debian bullseye --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49180276..c999b3d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,15 +34,15 @@ RUN export DATABASE_URL=mysql2://localhost/temp?encoding=utf8 && \ export SECRET_KEY_BASE=thisisnotimportantnow && \ export DEBIAN_FRONTEND=noninteractive && \ apt-get update && \ - apt-get install -y mariadb-server && \ - /etc/init.d/mysql start && \ + apt-get install -y mariadb-server nodejs && \ + /etc/init.d/mariadb start && \ mariadb -e "CREATE DATABASE temp" && \ cp config/app_config.yml.SAMPLE config/app_config.yml && \ cp config/database.yml.MySQL_SAMPLE config/database.yml && \ cp config/storage.yml.SAMPLE config/storage.yml && \ bundle exec rake db:setup assets:precompile && \ rm -Rf tmp/* && \ - /etc/init.d/mysql stop && \ + /etc/init.d/mariadb stop && \ rm -Rf /run/mysqld /tmp/* /var/tmp/* /var/lib/mysql /var/log/mysql* && \ apt-get purge -y --auto-remove mariadb-server && \ rm -Rf /var/lib/apt/lists/* /var/cache/apt/*