Skip to content

Commit

Permalink
更新 Dockerfile-for-github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ARC-MX authored Jun 6, 2024
1 parent 6994a70 commit 24ab19a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile-for-github-action
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apt-get --allow-releaseinfo-change update \
RUN cd /tmp \
&& python3 -m pip install --upgrade pip

COPY <<-"EOT" targetarch.sh
COPY <<-EOT ./targetarch.sh
if ["$TARGETARCH" = "arm"]; then \
cd /tmp \
&& curl -O -L https://github.com/nknytk/built-onnxruntime-for-raspberrypi-linux/blob/master/wheels/bullseye/onnxruntime-1.16.0-cp39-cp39-linux_armv7l.whl \
Expand All @@ -35,7 +35,7 @@ COPY <<-"EOT" targetarch.sh
fi
EOT

ENTRYPOINT targetarch.sh
ENTRYPOINT bash ./targetarch.sh

RUN cd /tmp \
&& PIP_ROOT_USER_ACTION=ignore pip install \
Expand Down

0 comments on commit 24ab19a

Please sign in to comment.