mirror of
https://github.com/whyour/qinglong.git
synced 2026-10-18 18:33:06 +08:00
14 lines
540 B
Docker
14 lines
540 B
Docker
# An immutable digest of the CI-only ARM1176 validator, built in the same run.
|
|
ARG BASE_IMAGE
|
|
FROM ${BASE_IMAGE} AS bundle
|
|
ARG BASE_IMAGE
|
|
ENV QL_BUNDLE_BASE_IMAGE=${BASE_IMAGE}
|
|
RUN ulimit -c 0; armv6-run /bin/bash -ec \
|
|
'node --jitless /ql/scripts/build-upgrade-bundle.cjs /ql /out; \
|
|
for archive in /out/*.tar.gz; do \
|
|
node /ql/shell/install-bundle.cjs --root /tmp/ql-bundle-offline-smoke --file "$archive" --install; \
|
|
rm -rf /tmp/ql-bundle-offline-smoke; \
|
|
done'
|
|
FROM scratch
|
|
COPY --from=bundle /armv6/out/ /
|