Browse Source

Fix Dockerfile: Ubuntu 22.04 causes Python trouble.

Thanks to bronger !

Fixes #4488
Lauri Ojansivu 3 years ago
parent
commit
79a866e238
2 changed files with 10 additions and 2 deletions
  1. 5 1
      .devcontainer/Dockerfile
  2. 5 1
      Dockerfile

+ 5 - 1
.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
 

+ 5 - 1
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.