File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1- FROM --platform=amd64 rust@sha256:ad8c72c693b517ed60c930839daed91a5696fa6118f031d888cd0b7055a921a3 AS strip-stage
1+ ARG PLATFORM=amd64
2+ FROM --platform=${PLATFORM} rust@sha256:ad8c72c693b517ed60c930839daed91a5696fa6118f031d888cd0b7055a921a3 AS strip-stage
23ARG DIRNAME
34RUN apt-get update
45RUN apt-get -y install binutils binutils-aarch64-linux-gnu
@@ -12,4 +13,5 @@ RUN /usr/aarch64-linux-gnu/bin/strip /build/${DIRNAME}/lib/arm-linux-androideabi
1213RUN strip /build/${DIRNAME}/lib/x86_64-pc-windows-gnu/cblite.dll -o /build/${DIRNAME}/lib/x86_64-pc-windows-gnu/cblite.stripped.dll
1314
1415FROM scratch AS strip
15- COPY --from=strip-stage /build/${DIRNAME}/ .
16+ ARG DIRNAME
17+ COPY --from=strip-stage /build/${DIRNAME}/ ${DIRNAME}/
You can’t perform that action at this time.
0 commit comments