Skip to content

Commit 019ff5d

Browse files
committed
Switch to ghcr cross docker image and download Python 3.8
1 parent bc5fbf5 commit 019ff5d

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

examples/namespace_package/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
FROM quay.io/pypa/manylinux2014_aarch64 AS manylinux
22

3-
FROM rustembedded/cross:aarch64-unknown-linux-gnu
4-
5-
RUN apt-get update && \
6-
apt-get install -y software-properties-common && \
7-
add-apt-repository ppa:deadsnakes/ppa && \
8-
apt-get update && \
9-
apt-get install -y python3.8 && \
10-
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
3+
FROM ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge
4+
5+
RUN curl -L https://github.com/indygreg/python-build-standalone/releases/download/20220318/cpython-3.8.13+20220318-x86_64-unknown-linux-gnu-install_only.tar.gz | tar -xz -C /usr/local
6+
7+
ENV PATH=/usr/local/python/bin:$PATH
118

129
COPY --from=manylinux /opt/_internal /opt/_internal
1310
COPY --from=manylinux /opt/python /opt/python

0 commit comments

Comments
 (0)