blob: c4eaef1f9f7b1c65d95a90d6972e3e9ecd3eedf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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 \
&& rm -fr /opt/db/.git \
&& tar --use-compress-program "zstd -19 -T0" -cf /opt/db.tar.zst /opt/db \
&& rm -fr /opt/db
COPY run.sh /run.sh
RUN chmod +x /run.sh
ENTRYPOINT ["/run.sh"]
|