oci-images/strichliste/Containerfile

19 lines
468 B
Text
Raw Permalink Normal View History

2024-11-09 12:56:19 -06:00
FROM alpine AS builder
WORKDIR /usr/src
RUN apk update && apk add git
ADD https://github.com/strichliste/strichliste/releases/download/v1.8.2/strichliste-v1.8.2.tar.gz .
RUN mkdir strichliste/ && tar -xzf strichliste-v1.8.2.tar.gz -C strichliste/
FROM docker.io/library/unit:php8.2
WORKDIR /var/www/html
RUN docker-php-ext-install -j$(nproc) mysqli
COPY --from=builder --chown=unit:unit /usr/src/strichliste .
COPY config.json /docker-entrypoint.d/config.json