Fritz Grimpen
1a55006e75
All checks were successful
ci/woodpecker/tag/strichliste Pipeline was successful
21 lines
596 B
Docker
21 lines
596 B
Docker
FROM alpine AS builder
|
|
|
|
ARG STRICHLISTE_VERSION=1.8.2
|
|
|
|
WORKDIR /usr/src
|
|
|
|
RUN apk update && apk add git
|
|
|
|
ADD https://github.com/strichliste/strichliste/releases/download/v${STRICHLISTE_VERSION}/strichliste-v${STRICHLISTE_VERSION}.tar.gz .
|
|
RUN mkdir strichliste/ && tar -xzf strichliste-v${STRICHLISTE_VERSION}.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
|
|
COPY strichliste.yaml config/strichliste.yaml
|