From d298ab7486d489d353fc410232a9dcdd68501c72 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 24 Jan 2026 06:01:51 +0200 Subject: [PATCH] Updated Dockerfile. Thanks to xet7 ! --- Dockerfile | 121 ++++++++++------------------------------------------- 1 file changed, 22 insertions(+), 99 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd45d4f5d..f002ad1aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,16 +4,9 @@ LABEL org.opencontainers.image.ref.name="ubuntu" LABEL org.opencontainers.image.version="24.04" LABEL org.opencontainers.image.source="https://github.com/wekan/wekan" -# 2022-04-25: -# - gyp does not yet work with Ubuntu 22.04 ubuntu:rolling, -# so changing to 21.10. https://github.com/wekan/wekan/issues/4488 - -# 2021-09-18: -# - Above Ubuntu base image copied from Docker Hub ubuntu:hirsute-20210825 -# to Quay to avoid Docker Hub rate limits. ARG DEBIAN_FRONTEND=noninteractive -ENV BUILD_DEPS="apt-utils gnupg gosu wget bzip2 g++ curl libarchive-tools build-essential git ca-certificates python3 unzip" +ENV BUILD_DEPS="apt-utils gnupg wget bzip2 g++ curl libarchive-tools build-essential git ca-certificates python3 unzip" ENV \ DEBUG=false \ @@ -163,134 +156,64 @@ ENV \ MONGO_PASSWORD_FILE="" \ S3_SECRET_FILE="" -# NODE_OPTIONS="--max_old_space_size=4096" - -#--------------------------------------------- -# == at docker-compose.yml: AUTOLOGIN WITH OIDC/OAUTH2 ==== -# https://github.com/wekan/wekan/wiki/autologin -#- OIDC_REDIRECTION_ENABLED=true -#--------------------------------------------------------------------- - -# Copy the app to the image -#COPY ${SRC_PATH} /home/wekan/app - -# Install OS RUN <