File tree 10 files changed +30
-0
lines changed
10 files changed +30
-0
lines changed 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 --break-system-packages --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --break-system-packages --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
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 --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --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
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 --break-system-packages --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --break-system-packages --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
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 --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --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
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 --break-system-packages --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --break-system-packages --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
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 --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --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
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 --break-system-packages --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --break-system-packages --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
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 --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --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
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 --break-system-packages --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --break-system-packages --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
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 --upgrade pip; \
51
53
# TODO: Remove --no-deps once https://github.com/pypa/pip/issues/9644 is solved
52
54
pip3 install --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