mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +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
|
# 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
|
ARG PIP_CACHE_DIR=/tmp/pip-cache
|
||||||
RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
|
RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
|
||||||
|
Reference in New Issue
Block a user