microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
docker/linux-aarch64/Dockerfile
19lines · modecode
| 1 | # Copyright (c) Microsoft Corporation. |
| 2 | # Licensed under the MIT License. |
| 3 | |
| 4 | ARG BASE_IMAGE |
| 5 | FROM --platform=linux/arm64/v8 ${BASE_IMAGE} |
| 6 | |
| 7 | # install python and pip |
| 8 | RUN apt-get update && \ |
| 9 | DEBIAN_FRONTEND=noninteractive apt-get install \ |
| 10 | python3-minimal python3-pip python3-venv \ |
| 11 | --no-install-recommends -y && \ |
| 12 | apt-get clean |
| 13 | |
| 14 | # We don't update pip here as we need to update it |
| 15 | # inside the virtual environment. Otherwise, we get two versions |
| 16 | # of pip installed, and the one outside the virtual environment |
| 17 | # causes problems. |
| 18 | |
| 19 | ENTRYPOINT ["sh", "-c", "$*", "--"] |
| 20 | |