Fix Dockerfile: Ubuntu 22.04 causes Python trouble.

Thanks to bronger !

Fixes #4488
This commit is contained in:
Lauri Ojansivu 2022-04-25 11:20:11 +03:00
parent 79051e5779
commit 79a866e238
2 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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.