FROM debian:stable-slim ENV PACKAGES git ruby zstd RUN apt-get update -y \ && apt-get install -y --no-install-recommends $PACKAGES \ && git clone https://github.com/spandx/cache.git /opt/db \ && tar --use-compress-program zstd -cf /opt/db.tar.zst /opt/db \ && rm -fr /opt/db COPY run.sh /run.sh ENTRYPOINT ["/run.sh"]