docker-ownDynDNS-netcup/docker-build/Dockerfile
sujiba f3a8968ef7
All checks were successful
build image / release_tag (push) Successful in 3m2s
build image / build (push) Successful in 9m30s
build image / publish_release (push) Successful in 7s
Merge pull request 'chore(deps): update alpine docker tag to v3.22.0' (#28) from renovate/alpine-3.x into main
Reviewed-on: #28
2025-06-14 15:01:38 +02:00

22 lines
675 B
Docker
Executable file

# Get latest app version
FROM alpine:3.22.0
WORKDIR /clone-workspace
RUN apk update && \
apk upgrade && \
apk add git && \
git clone https://github.com/fernwerker/ownDynDNS.git
# Build container to run the app
FROM php:8.4.8-apache
WORKDIR /var/www/html
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install --no-install-recommends -y \
libxml2-dev && \
docker-php-ext-install soap && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --chown=www-data:www-data --from=0 /clone-workspace/ownDynDNS /var/www/html
COPY --chown=www-data:www-data --from=0 /clone-workspace/ownDynDNS/.htaccess.example /var/www/html/.htaccess