containers/pagefind/Dockerfile

13 lines
499 B
Docker
Raw Permalink Normal View History

2023-10-26 00:21:05 -05:00
FROM alpine:latest
2023-10-26 17:08:02 -05:00
ARG PAGEFIND_VERSION
ENV PAGEFIND_VERSION=${PAGEFIND_VERSION:-v1.0.3}
2023-10-26 00:21:05 -05:00
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
2023-10-26 17:08:02 -05:00
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" \
2023-10-26 00:21:05 -05:00
&& mv pagefind /usr/bin/ \
&& rm "pagefind-${PAGEFIND_VERSION}-x86_64-unknown-linux-musl.tar.gz"