docker-ownDynDNS-netcup/docker-build/Dockerfile
sujiba 953eeb68b8
All checks were successful
build image / release_tag (push) Successful in 28s
build image / build (push) Successful in 6m15s
build image / publish_release (push) Successful in 6s
Merge pull request 'chore(deps): update alpine docker tag to v3.21.3' (#24) from renovate/alpine-3.x into main
Reviewed-on: https://git.smail.koeln/homelab/docker-ownDynDNS-netcup/pulls/24
2025-03-21 20:05:09 +01:00

22 lines
675 B
Docker
Executable file

# Get latest app version
FROM alpine:3.21.3
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.5-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