[codebook@zero ledobe-0.3.0]$ bin/build Sending build context to Docker daemon 26.11kB Step 1/54 : FROM ubuntu:20.04 AS base ---> 3223373eca24 Step 2/54 : ENV TZ="Etc/UTC" ---> Using cache ---> d91e3510a8e5 Step 3/54 : FROM base AS pre-dl ---> d91e3510a8e5 Step 4/54 : ENV DEBIAN_FRONTEND="noninteractive" ---> Using cache ---> 8b42ea34bc63 Step 5/54 : RUN set -x && apt-get update && apt-get install -y --no-install-suggests --no-install-recommends ca-certificates=20210119~20.04.2 wget=1.20.3-1ubuntu2 ---> Using cache ---> 8faef40b9b87 Step 6/54 : ENV OPTDIR=/usr/local/lib ---> Using cache ---> 1ff76a5105b4 Step 7/54 : WORKDIR /tmp ---> Using cache ---> 18d328c15f68 Step 8/54 : FROM pre-dl AS sbt-dl ---> 18d328c15f68 Step 9/54 : ENV PATH="${PATH}:${OPTDIR}/sbt/bin" ---> Using cache ---> 765313512127 Step 10/54 : RUN apt-get install -y --no-install-suggests --no-install-recommends openjdk-8-jre-headless=8u312-b07-0ubuntu1~20.04 ---> Using cache ---> 57dfd93dafa2 Step 11/54 : ARG SBT_VER=0.13.17 ---> Using cache ---> 41e069a90c6e Step 12/54 : ENV ARCHIVE="sbt-${SBT_VER}.tgz" ---> Using cache ---> 241f310035ca Step 13/54 : RUN wget --progress=dot:giga "https://github.com/sbt/sbt/releases/download/v${SBT_VER}/${ARCHIVE}" ---> Using cache ---> 15e437c4837f Step 14/54 : ARG SBT_SHA=25f782ccb2ad6d54e13ce6cec0afa3d2328874c508d68ee34e2f742e99f2c847 ---> Using cache ---> 660e67ce94a8 Step 15/54 : RUN set -x && printf '%s %s' "$SBT_SHA" "$ARCHIVE" | sha256sum -c && tar -C "$OPTDIR" -xf "$ARCHIVE" && sbt -V ---> Using cache ---> 9c2852ddb008 Step 16/54 : FROM pre-dl AS node-dl ---> 18d328c15f68 Step 17/54 : ENV PATH="${PATH}:${OPTDIR}/node/bin" ---> Using cache ---> 4c3663cc41ba Step 18/54 : RUN apt-get install -y --no-install-suggests --no-install-recommends xz-utils=5.2.4-1ubuntu1 ---> Using cache ---> 1c12568e8a8d Step 19/54 : ARG NODE_VER=14.18.3 ---> Using cache ---> ba25ed7efa06 Step 20/54 : ARG NODE_ARCH=arm64 ---> Using cache ---> b2087f88a8d9 Step 21/54 : ENV DIR="node-v${NODE_VER}-linux-${NODE_ARCH}" ---> Using cache ---> ac45607ec901 Step 22/54 : ENV ARCHIVE="${DIR}.tar.xz" ---> Using cache ---> 3614b065870f Step 23/54 : RUN wget --progress=dot:giga "https://nodejs.org/dist/v${NODE_VER}/${ARCHIVE}" ---> Using cache ---> 7e4dce40a00d Step 24/54 : ARG NODE_SHA=ded5c233cc107c322f3a21935d53945880adfb5d7a0994fc94ee51fdf2e5a805 ---> Using cache ---> 176be66070d5 Step 25/54 : RUN set -x && printf '%s %s' "$NODE_SHA" "$ARCHIVE" | sha256sum -c && tar -C "$OPTDIR" -xf "$ARCHIVE" && ( cd "$OPTDIR" && mv "$DIR" "node" ) ---> Using cache ---> 2a8429834f4b Step 26/54 : RUN npm install --global yarn@1.22.17 ---> Using cache ---> 35dcb87119c6 Step 27/54 : RUN mkdir -p /.npm/bin ---> Using cache ---> 9814fee002a8 Step 28/54 : FROM base AS prompt-setup ---> d91e3510a8e5 Step 29/54 : COPY prompt-setup / ---> Using cache ---> 6b2f943b1292 Step 30/54 : RUN /prompt-setup /etc/skel/.bashrc ---> Using cache ---> 23954bd66b2c Step 31/54 : FROM base AS aggregate ---> d91e3510a8e5 Step 32/54 : ENV DEST_ROOT=/agr OPTDIR=/usr/local/lib ---> Using cache ---> 260cda78aab6 Step 33/54 : ENV DEST_OPTDIR="${DEST_ROOT}${OPTDIR}" ---> Using cache ---> da1b2c4b8a82 Step 34/54 : COPY --from=node-dl --chown=0:0 "$OPTDIR" "${DEST_OPTDIR}" ---> c84fb4876747 Step 35/54 : COPY --from=sbt-dl --chown=0:0 "$OPTDIR" "${DEST_OPTDIR}" ---> edc6694b7de8 Step 36/54 : ENV BUNDLE_ROOT="${DEST_ROOT}/.ledobe" ---> Running in 40e44e453ea1 Removing intermediate container 40e44e453ea1 ---> 004e115a438e Step 37/54 : ENV HOME="${BUNDLE_ROOT}/home" ---> Running in 1cb45a7342e4 Removing intermediate container 1cb45a7342e4 ---> f8b77384cf43 Step 38/54 : COPY --from=sbt-dl /root/.sbt "${HOME}/.sbt" ---> f22d5de848ce Step 39/54 : COPY --from=sbt-dl /root/.ivy2 "${HOME}/.ivy2" ---> 7b6071569fe8 Step 40/54 : COPY --from=prompt-setup /etc/skel/.bashrc "${DEST_ROOT}/etc/skel/" ---> 26230256d28f Step 41/54 : COPY --chown=0:0 npmrc "${DEST_ROOT}/etc/skel/.npmrc" ---> 9984e9480a87 Step 42/54 : COPY --chown=0:0 home-npm.sh "${DEST_ROOT}/etc/profile.d/" ---> 87055f36e6e3 Step 43/54 : COPY --from=node-dl /.npm "${HOME}/.npm" ---> a03a73d3be8a Step 44/54 : COPY build "${BUNDLE_ROOT}/build" ---> e62f43d9572b Step 45/54 : COPY entrypoint "${DEST_ROOT}/usr/bin/entrypoint" ---> 77fb251302d4 Step 46/54 : RUN set -x && for resource in build home; do cd "${BUNDLE_ROOT}/${resource}" && find . -mindepth 1 -print0 | sort -z > "${BUNDLE_ROOT}/manifest-${resource}" ; done && : ---> Running in 92b5228a4bd8 + cd /agr/.ledobe/build + find . -mindepth 1 -print0 + sort -z + cd /agr/.ledobe/home + find . -mindepth 1 -print0 + sort -z + : Removing intermediate container 92b5228a4bd8 ---> 2f9172d97cc2 Step 47/54 : FROM base AS final ---> d91e3510a8e5 Step 48/54 : RUN set -x && apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-suggests --no-install-recommends cmake=3.16.3-1ubuntu1 g++=4:9.3.0-1ubuntu2 git=1:2.25.1-1ubuntu3.2 make=4.2.1-1.2 openjdk-8-jre-headless=8u312-b07-0ubuntu1~20.04 pkg-config=0.29.1-0ubuntu4 python-is-python3=3.8.2-4 libqt5websockets5-dev=5.12.8-0ubuntu1 libudev-dev=245.4-4ubuntu3.15 libusb-1.0-0-dev=2:1.0.23-2build1 qtbase5-dev=5.12.8+dfsg-0ubuntu2.1 bash-completion=1:2.10-1ubuntu1 gosu=1.10-1ubuntu0.20.04.1 openssh-client=1:8.2p1-4ubuntu0.4 && rm -rf /var/lib/apt/lists/* && git config -f /etc/skel/.gitconfig user.name 'Ledger DoBE' && git config -f /etc/skel/.gitconfig user.email 'ledobe@example.com' && ssh-keyscan github.com >> /etc/ssh/ssh_known_hosts && : ---> Using cache ---> d3a8db4341b7 Step 49/54 : COPY --from=aggregate /agr / ---> 75e2321f815a Step 50/54 : ENV PATH="${PATH}:/usr/local/lib/sbt/bin:/usr/local/lib/node/bin" ---> Running in e041db13b27d Removing intermediate container e041db13b27d ---> 8b6d048e6fcc Step 51/54 : WORKDIR /build ---> Running in 02f4a655c1f9 Removing intermediate container 02f4a655c1f9 ---> 81d524eeb0de Step 52/54 : CMD ["/bin/bash"] ---> Running in 1650718a7f7c Removing intermediate container 1650718a7f7c ---> fc72c40a87a8 Step 53/54 : VOLUME /build /mnt/home ---> Running in c37f2c656be9 Removing intermediate container c37f2c656be9 ---> 5d815f5feda2 Step 54/54 : ENTRYPOINT ["entrypoint"] ---> Running in 5acc3fe71a62 Removing intermediate container 5acc3fe71a62 ---> 355a60af6b4d Successfully built 355a60af6b4d Successfully tagged ledobe:latest