ADD file:aad4290d27580cc1a094ffaf98c3ca2fc5d699fe695dfb8e6e9fac20f1129450 in / |
CMD ["/bin/sh"] |
/bin/sh -c apk add --no-cache ca-certificates libc6-compat openssh-client |
/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf |
ENV DOCKER_VERSION=20.10.8 |
/bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in 'x86_64') url='https://download.docker.com/linux/static/stable/x86_64/docker-20.10.8.tgz'; ;; 'armhf') url='https://download.docker.com/linux/static/stable/armel/docker-20.10.8.tgz'; ;; 'armv7') url='https://download.docker.com/linux/static/stable/armhf/docker-20.10.8.tgz'; ;; 'aarch64') url='https://download.docker.com/linux/static/stable/aarch64/docker-20.10.8.tgz'; ;; *) echo >&2 "error: unsupported architecture ($apkArch)"; exit 1 ;; esac; wget -O docker.tgz "$url"; tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ ; rm docker.tgz; dockerd --version; docker --version |
COPY file:abb137d24130e7fa2bdd38694af607361ecb688521e60965681e49460964a204 in /usr/local/bin/modprobe |
COPY file:5b18768029dab8174c9d5957bb39560bde5ef6cba50fbbca222731a0059b449b in /usr/local/bin/ |
ENV DOCKER_TLS_CERTDIR=/certs |
/bin/sh -c mkdir /certs /certs/client && chmod 1777 /certs /certs/client |
ENTRYPOINT ["docker-entrypoint.sh"] |
CMD ["sh"] |
RUN /bin/sh -c apk update && apk add --no-cache git openssl openssl-dev ca-certificates bash curl make gcc g++ python3 python3-dev py3-pip linux-headers paxctl libgcc libstdc++ gnupg nodejs-current npm krb5-libs && update-ca-certificates rust docker-cli libffi-dev libc-dev docker-compose # buildkit |
RUN /bin/sh -c apk update && apk add bash libc6-compat alpine-sdk # buildkit |
ENV PYTHONUNBUFFERED=1 |
RUN /bin/sh -c apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python # buildkit |
RUN /bin/sh -c python3 -m ensurepip # buildkit |
RUN /bin/sh -c pip3 install --no-cache --upgrade pip setuptools # buildkit |
COPY ./stack-fix.c /lib/ # buildkit |
RUN /bin/sh -c node -v && npm -v # buildkit |
ENV PNPM_HOME=/root/.local/share/pnpm/pnpm |
RUN /bin/sh -c mkdir -p ${PNPM_HOME} # buildkit |
ENV PATH=/root/.local/share/pnpm/pnpm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
RUN /bin/sh -c curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm; # buildkit |
RUN /bin/sh -c pnpm -v # buildkit |
RUN /bin/sh -c set -ex && apk add --no-cache --virtual .build-deps build-base && gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so && apk del .build-deps # buildkit |
ENV LD_PRELOAD=/lib/stack-fix.so |
RUN /bin/sh -c pnpm config set unsafe-perm true # buildkit |