Skip to content

Commit

Permalink
Dockerfile build stage: use native arch (since noarch)
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Nov 12, 2023
1 parent dd761f9 commit 7b8af98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion helm-chart/images/binderhub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
#
# NOTE: If the image version is updated, also update it in ci/refreeze!
#
FROM python:3.11-bullseye as build-stage

######################################################################
# The BinderHub wheel is pure Python so can be built for any platform
# on the native architecture (avoiding QEMU emulation)
FROM --platform=${BUILDPLATFORM:-linux/amd64} python:3.11-bullseye as build-stage

# install node as required to build a binderhub wheel
RUN echo "deb https://deb.nodesource.com/node_18.x bullseye main" > /etc/apt/sources.list.d/nodesource.list \
Expand Down

0 comments on commit 7b8af98

Please sign in to comment.