summaryrefslogtreecommitdiff
path: root/examples/003/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/003/Dockerfile')
-rw-r--r--examples/003/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/003/Dockerfile b/examples/003/Dockerfile
index 35b83ea..a722743 100644
--- a/examples/003/Dockerfile
+++ b/examples/003/Dockerfile
@@ -1,8 +1,9 @@
FROM debian:stable-slim
ENV PACKAGES git ruby zstd
-RUN apt-get update -y --no-install-recommends $PACKAGES \
+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
-CMD ['/run.sh']
+ENTRYPOINT ["/run.sh"]