Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Fixed

- Let Superset 3.1.0 build on ARM by adding `make` and `diffutils` ([#611]).
- Let Airflow 2.8.x and 2.9.x build on ARM by adding `make` and `diffutils` ([#612]).

[#611]: https://github.com/stackabletech/docker-images/pull/611
[#612]: https://github.com/stackabletech/docker-images/pull/612

## [24.3.0] - 2024-03-20

### Added

- omid: init at 1.1.0 ([#493]).
Expand Down
20 changes: 18 additions & 2 deletions airflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ RUN microdnf update && \
# Used to extract statsd_exporter
tar \
cyrus-sasl-devel \
# Needed by ./configure to build gevent, see snippet [1] at the end of file
diffutils \
# Needed to build gevent, see snippet [1] at the end of file
make \
gcc \
gcc-c++ \
libpq-devel \
Expand All @@ -37,8 +41,9 @@ RUN microdnf update && \
python${PYTHON}-pip \
python${PYTHON}-wheel \
unixODBC-devel && \
microdnf clean all && \
python3 -m venv --system-site-packages /stackable/app && \
microdnf clean all

RUN python3 -m venv --system-site-packages /stackable/app && \
source /stackable/app/bin/activate && \
pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir apache-airflow[${AIRFLOW_EXTRAS}]==${PRODUCT} --constraint /tmp/constraints.txt && \
Expand Down Expand Up @@ -116,3 +121,14 @@ WORKDIR /stackable

ENTRYPOINT ["/usr/bin/tini", "--", "/run-airflow.sh"]
CMD []

# SNIPPET 1
# 137.0 Running '(cd "/tmp/pip-install-cyuymnu6/gevent_0f8b4d282c464210b62acdf399e4a04c/deps/libev" && sh ./configure -C > configure-output.txt )' in /tmp/pip-install-cyuymnu6/gevent_0f8b4d282c464210b62acdf399e4a04c
# 137.0 ./configure: line 6350: cmp: command not found
# 137.0 ./configure: line 6350: cmp: command not found
# 137.0 ./configure: line 8279: diff: command not found
# 137.0 config.status: error: in `/tmp/pip-install-cyuymnu6/gevent_0f8b4d282c464210b62acdf399e4a04c/deps/libev':
# 137.0 config.status: error: Something went wrong bootstrapping makefile fragments
# 137.0 for automatic dependency tracking. Try re-running configure with the
# 137.0 '--disable-dependency-tracking' option to at least be able to build
# 137.0 the package (albeit without support for automatic dependency tracking).