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