File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ ARG LIB_CRYPT_PATH
1111ARG LIB_GCC_PATH
1212ARG LD_LIB_PATH
1313
14- COPY --from=builder /usr/local/bin/ruby /usr/local/bin/ruby
1514COPY --from=builder /usr/local/lib/libruby.so.${RUBY_MAJOR_MINOR} /usr/local/lib/libruby.so.${RUBY_MAJOR_MINOR}
15+ COPY --from=builder /usr/local/bin/ruby /usr/local/bin/ruby
1616COPY --from=builder /usr/local/lib/ruby /usr/local/lib/ruby
17+ COPY --from=builder /usr/local/bin/bundle /usr/local/bin/bundle
1718
1819COPY --from=builder ${LIB_Z_PATH} ${LIB_Z_PATH}
1920COPY --from=builder ${LIB_GMP_PATH} ${LIB_GMP_PATH}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ for ver in "${ruby_versions[@]}"; do
3535 else
3636 extra_args=" --load"
3737 fi
38- TAG_PLATFORM=$( echo " $ {platform} " | tr ' / ' ' - ' )
38+ TAG_PLATFORM=${platform#*/ }
3939 docker buildx build \
4040 --platform " ${platform} " \
4141 --build-arg RUBY_VERSION=" ${RUBY_VERSION} " \
You can’t perform that action at this time.
0 commit comments