summaryrefslogtreecommitdiff
path: root/examples/003/Dockerfile
blob: baa4fa55aa05cb002ebc34661837ebc19b78bcc5 (plain)
1
2
3
4
5
6
7
8
9
10
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
RUN chmod +x /run.sh
ENTRYPOINT ["/run.sh"]