-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add arm64 platform support to dagster-cloud.pex, do the build inside …
…a manylinux builder image Summary: Add an arm64 platform to the dagster-cloud.pex - it no longer builds locally, so do it in Docker now. Test Plan; Make a v0.1.48 release
- Loading branch information
Showing
3 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Builds generated/gha/dagster-cloud.pex | ||
|
||
# Use an official manylinux builder (https://github.com/pypa/manylinux#docker-images) | ||
FROM --platform=linux/amd64 quay.io/pypa/manylinux_2_28_x86_64:latest | ||
|
||
# Add all the relevant Python binaries to the PATH | ||
ENV PATH="/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin:/opt/python/cp311-cp312/bin:$PATH" | ||
|
||
# pins? | ||
RUN python3.11 -m pip install typer rich pex | ||
|
||
COPY release.py release.py | ||
|
||
RUN mkdir -p /generated | ||
|
||
CMD ["python3.11", "release.py", "build-dagster-cloud-pex"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters