File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,12 @@ RUN set -xe; \
45
45
python3-psycopg2 \
46
46
python3-setuptools \
47
47
; \
48
+ # We require build-essential and python3-dev to build lz4 on arm64 since there isn't a pre-compiled wheel available
49
+ apt-get install -y --no-install-recommends build-essential python3-dev; \
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 @@ -47,9 +47,12 @@ RUN set -xe; \
47
47
python3-psycopg2 \
48
48
python3-setuptools \
49
49
; \
50
+ # We require build-essential and python3-dev to build lz4 on arm64 since there isn't a pre-compiled wheel available
51
+ apt-get install -y --no-install-recommends build-essential python3-dev; \
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