File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 48
48
uses : docker/setup-qemu-action@v3
49
49
with :
50
50
platforms : ' arm64'
51
- # TODO: remove once https://github.com/docker/setup-qemu-action/issues/198 is fixed
52
- image : ' tonistiigi/binfmt:qemu-v7.0.0'
53
51
54
52
- name : Set up Docker Buildx
55
53
uses : docker/setup-buildx-action@v3
Original file line number Diff line number Diff line change 45
45
uses : docker/setup-qemu-action@v3
46
46
with :
47
47
platforms : ${{ matrix.platforms }}
48
- # TODO: remove once https://github.com/docker/setup-qemu-action/issues/198 is fixed
49
- image : ' tonistiigi/binfmt:qemu-v7.0.0'
50
48
51
49
- name : Docker meta
52
50
env :
Original file line number Diff line number Diff line change @@ -41,13 +41,16 @@ RUN set -xe; \
41
41
RUN set -xe; \
42
42
apt-get update; \
43
43
apt-get install -y --no-install-recommends \
44
+ # We require build-essential and python3-dev to build lz4 on arm64 since there isn't a pre-compiled wheel available
45
+ build-essential python3-dev \
44
46
python3-pip \
45
47
python3-psycopg2 \
46
48
python3-setuptools \
47
49
; \
48
50
pip3 install %%PIP_OPTIONS%% --upgrade pip; \
49
51
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
50
52
pip3 install %%PIP_OPTIONS%% --no-deps -r requirements.txt; \
53
+ apt-get remove -y --purge --autoremove build-essential python3-dev; \
51
54
rm -rf /var/lib/apt/lists/*;
52
55
53
56
# Change the uid of postgres to 26
Original file line number Diff line number Diff line change @@ -43,13 +43,16 @@ RUN set -xe; \
43
43
RUN set -xe; \
44
44
apt-get update; \
45
45
apt-get install -y --no-install-recommends \
46
+ # We require build-essential and python3-dev to build lz4 on arm64 since there isn't a pre-compiled wheel available
47
+ build-essential python3-dev \
46
48
python3-pip \
47
49
python3-psycopg2 \
48
50
python3-setuptools \
49
51
; \
50
52
pip3 install %%PIP_OPTIONS%% --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install %%PIP_OPTIONS%% --no-deps -r requirements.txt; \
55
+ apt-get remove -y --purge --autoremove build-essential python3-dev; \
53
56
rm -rf /var/lib/apt/lists/*;
54
57
55
58
# Change the uid of postgres to 26
You can’t perform that action at this time.
0 commit comments