Skip to content

Commit

Permalink
Debug rosetta build: correct container
Browse files Browse the repository at this point in the history
  • Loading branch information
DwarKapex committed Nov 16, 2023
1 parent 2a12b05 commit 507c6c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_sandbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
with:
ARCHITECTURE: amd64
BUILD_DATE: "2023-11-15"
BASE_IMAGE: ghcr.io/nvidia/jax-toolbox-internal:6896408819-upstream-pax-amd64-mealkit
BASE_IMAGE: ghcr.io/nvidia/jax-toolbox-internal:6896408819-upstream-pax-amd64
BASE_LIBRARY: pax
secrets: inherit
9 changes: 7 additions & 2 deletions rosetta/Dockerfile.pax
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# syntax=docker/dockerfile:1-labs
ARG BASE_IMAGE=ghcr.io/nvidia/upstream-pax:mealkit
ARG BASE_IMAGE=ghcr.io/nvidia/upstream-pax:latest
ARG GIT_USER_EMAIL=jax@nvidia.com
ARG GIT_USER_NAME=NVIDIA
ARG SRC_PATH_PAXML=/opt/paxml
ARG SRC_PATH_PRAXIS=/opt/praxis

FROM scratch as rosetta-source
ARG SRC_PATH_PAXML
ARG SRC_PATH_PRAXIS

COPY . /

FROM scratch as pax-mirror-source
Expand All @@ -25,7 +30,7 @@ EOF
COPY --from=rosetta-source / /opt/rosetta
WORKDIR /opt/rosetta
RUN --mount=target=/opt/pax-mirror,from=pax-mirror-source,readwrite \
--mount=target=/opt/praxis-mirror,from=praxis-mirror-source,readwrite <<"EOF" bash -e
--mount=target=/opt/praxis-mirror,from=praxis-mirror-source,readwrite <<EOF bash -e
bash create-distribution.sh \
-p patchlist-paxml.txt \
-m https://github.com/nvjax-svc-0/paxml.git \
Expand Down

0 comments on commit 507c6c1

Please sign in to comment.