ADD file:7625ddfd589fb824ee39f1b1eb387b98f3676420ff52f26eb9d975151e889667 in / |
CMD ["/bin/sh"] |
ARG S6_OVERLAY_VERSION=3.1.5.0 |
ENV CRONICLE_foreground=1 |
ENV CRONICLE_echo=1 |
ENV CRONICLE_color=1 |
ENV EDITOR=vi |
ENV MODE=manager |
ENV PUID=1000 |
ENV PGID=1000 |
ENV TZ=UTC |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c apk update && apk add tzdata curl shadow bash xz git procps nodejs npm # buildkit |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c mkdir /config && mkdir /app && useradd -u 1000 -U -d /config -s /bin/false mrmeeb && usermod -G users mrmeeb # buildkit |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c curl -fsSL "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" | tar Jpxf - -C / && curl -fsSL "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz" | tar Jpxf - -C / && curl -fsSL "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" | tar Jpxf - -C / && curl -fsSL "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" | tar Jpxf - -C / # buildkit |
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c git clone https://github.com/cronicle-edge/cronicle-edge.git /app/cronicle # buildkit |
WORKDIR /app/cronicle |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c npm install && node bin/build dist # buildkit |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c rm -rf /app/cronicle/Docker* .vscode # buildkit |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c adduser --disabled-password --no-create-home cronicle # buildkit |
COPY root/ / # buildkit |
RUN |1 S6_OVERLAY_VERSION=3.1.5.0 /bin/sh -c chmod +x /cronicle-prepare.sh && chmod +x /container-init.sh # buildkit |
EXPOSE map[3012/tcp:{}] |
ENTRYPOINT ["/init"] |