-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update Open edX image to use ubuntu 22.04 as base OS (#1117)
* feat: update Open edX image to use ubuntu 22.04 as base OS
- Loading branch information
1 parent
3a11581
commit 7e68baa
Showing
4 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- 💥[Feature] Update Open edX Image to use Ubuntu 22.04 as base OS. (by @dawoudsheraz) | ||
- Adds xmlsec related dependencies to fix xmlsec import issues during translations build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
# syntax=docker/dockerfile:1 | ||
###### Minimal image with base system requirements for most stages | ||
FROM docker.io/ubuntu:20.04 AS minimal | ||
FROM docker.io/ubuntu:22.04 AS minimal | ||
LABEL maintainer="Overhang.io <[email protected]>" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ | ||
--mount=type=cache,target=/var/lib/apt,sharing=locked \ | ||
apt update && \ | ||
|
@@ -19,7 +20,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ | |
apt update && \ | ||
apt install -y libssl-dev zlib1g-dev libbz2-dev \ | ||
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \ | ||
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git | ||
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git | ||
|
||
# Install pyenv | ||
# https://www.python.org/downloads/ | ||
|
@@ -78,7 +79,10 @@ ENV XDG_CACHE_HOME=/openedx/.cache | |
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ | ||
--mount=type=cache,target=/var/lib/apt,sharing=locked \ | ||
apt update \ | ||
&& apt install -y software-properties-common libmysqlclient-dev libxmlsec1-dev libgeos-dev | ||
&& apt install -y software-properties-common libmysqlclient-dev libxmlsec1-dev libgeos-dev \ | ||
# Install xmlsec dependencies | ||
libxml2-dev \ | ||
libxmlsec1-openssl | ||
|
||
# Install the right version of pip/setuptools | ||
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \ | ||
|