mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
Why is BUILDPLATFORM linux/arm64 when buliding arm64 on a gh amd64 runner?
This commit is contained in:
@@ -59,7 +59,11 @@ COPY . .
|
||||
|
||||
######################################################################
|
||||
# The JupyterHub wheel is pure Python so can be built once on any architecture
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} base-builder AS jupyterhub-builder
|
||||
# TODO: re-enable BUILDPLATFORM instead of forcing to linux/amd64
|
||||
#FROM --platform=${BUILDPLATFORM:-linux/amd64} base-builder AS jupyterhub-builder
|
||||
FROM --platform=linux/amd64 base-builder AS jupyterhub-builder
|
||||
|
||||
RUN echo "BUILDPLATFORM=${BUILDPLATFORM} TARGETPLATFORM=${TARGETPLATFORM}"
|
||||
|
||||
ARG PIP_CACHE_DIR=/tmp/pip-cache
|
||||
RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
|
||||
|
Reference in New Issue
Block a user