Files
ctf/2026/cscg/web/innovation-at-work/Dockerfile
2026-04-10 03:31:12 +02:00

21 lines
709 B
Docker

FROM docker.io/ubuntu:noble-20241118.1@sha256:80dd3c3b9c6cecb9f1667e9290b3bc61b78c2678c02cbdae5f0fea92cc6734ab
ADD --chmod=0755 --checksum=sha256:4c97fd03a3b181996b1473f3a99b69a1efc6ecaf2b4ede061b6bd60a96b9325a \
https://raw.githubusercontent.com/reproducible-containers/repro-sources-list.sh/v0.1.0/repro-sources-list.sh \
/usr/local/bin/repro-sources-list.sh
RUN \
--mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
/usr/local/bin/repro-sources-list.sh && \
apt-get update && \
apt-get install -y lighttpd
COPY www/ /www
RUN chmod -R a+rx-w /www
RUN mkdir /db
COPY lighttpd.conf run.sh /
ENTRYPOINT ["/run.sh"]