Skip to content

Commit

Permalink
Disabling extra rosetta installs in rosetta-pax image since they are
Browse files Browse the repository at this point in the history
intended for t5x based images
  • Loading branch information
terrykong committed Oct 10, 2023
1 parent a514468 commit cf07de5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions rosetta/Dockerfile.pax
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,17 @@ bash create-distribution.sh \
rm -rf $(find /opt -name "__pycache__")
EOF

WORKDIR /opt/rosetta
RUN <<EOF bash -e
pip install -e /opt/rosetta
rm -rf ~/.cache/pip/
EOF

FROM rosetta AS rosetta-devel

WORKDIR /opt/rosetta
RUN <<EOF bash -e
pip install -e '/opt/rosetta[test,lint]'
rm -rf ~/.cache/pip/
EOF
# TODO(terry): Disabling for now since there all packages are currently intended for t5x based images
#WORKDIR /opt/rosetta
#RUN <<EOF bash -e
#pip install -e /opt/rosetta
#rm -rf ~/.cache/pip/
#EOF
#
#FROM rosetta AS rosetta-devel
#
#WORKDIR /opt/rosetta
#RUN <<EOF bash -e
#pip install -e '/opt/rosetta[test,lint]'
#rm -rf ~/.cache/pip/
#EOF

0 comments on commit cf07de5

Please sign in to comment.