containers/pagefind/Dockerfile
Kaan Barmore-Genç 37c30eee24
All checks were successful
ci/woodpecker/push/tor Pipeline was successful
ci/woodpecker/push/rsync Pipeline was successful
ci/woodpecker/push/pagefind Pipeline was successful
ci/woodpecker/cron/rsync Pipeline was successful
ci/woodpecker/cron/tor Pipeline was successful
ci/woodpecker/cron/pagefind Pipeline was successful
Ugh I was using single quotes, of course!
2023-10-26 17:10:20 -05:00

13 lines
499 B
Docker

FROM alpine:latest
ARG PAGEFIND_VERSION
ENV PAGEFIND_VERSION=${PAGEFIND_VERSION:-v1.0.3}
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
RUN echo "Building ${PAGEFIND_VERSION}" \
&& wget "https://github.com/CloudCannon/pagefind/releases/download/v1.0.3/pagefind-v1.0.3-x86_64-unknown-linux-musl.tar.gz" \
&& tar -xvf "pagefind-${PAGEFIND_VERSION}-x86_64-unknown-linux-musl.tar.gz" \
&& mv pagefind /usr/bin/ \
&& rm "pagefind-${PAGEFIND_VERSION}-x86_64-unknown-linux-musl.tar.gz"