From 8abe9f89291f3b6a59bfc1de751c5a09e35ebd3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Tue, 25 Oct 2022 20:55:14 +0200
Subject: [PATCH] Install fix

---
 Dockerfile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 74f9983..fb0d391 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,12 @@
 FROM bitnami/phpbb:3.3.8
 MAINTAINER Andrej Ramašeuski <andrej.ramaseuski@pirati.cz>
-RUN install_packages cron
+
+RUN set -ex; \
+        apt-get update && \
+        DEBIAN_FRONTEND=noninteractive \
+        apt-get install --no-install-recommends -y \
+        \
+        cron
 
 COPY crontab /etc/cron.d/
 COPY phpbb /opt/bitnami/phpbb
-- 
GitLab