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