From 79a866e2384d262572edf68503f31e699df675eb Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 25 Apr 2022 11:20:11 +0300 Subject: [PATCH] Fix Dockerfile: Ubuntu 22.04 causes Python trouble. Thanks to bronger ! Fixes #4488 --- .devcontainer/Dockerfile | 6 +++++- Dockerfile | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index bfb74daa8..554676ecd 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,10 @@ -FROM ubuntu:rolling +FROM ubuntu:21.10 LABEL maintainer="sgr" +# 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 + ENV BUILD_DEPS="gnupg gosu libarchive-tools wget curl bzip2 g++ build-essential python git ca-certificates iproute2" ENV DEBIAN_FRONTEND=noninteractive diff --git a/Dockerfile b/Dockerfile index e68023da7..7506deab6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ -FROM ubuntu:rolling +FROM ubuntu:21.10 LABEL maintainer="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.