Merge branch 'main' of https://git.format.hu/format/web-installer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
root
2024-07-01 09:49:52 +02:00
3 changed files with 1079 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
FROM alpine:latest FROM alpine:latest
ENV NGINX_VERSION=1.25.4 ENV NGINX_VERSION=1.25.4
ARG PHP_VERSION="8.2" ARG PHP_VERSION="83"
RUN \ RUN \
build_pkgs="build-base linux-headers openssl-dev pcre-dev wget zlib-dev" && \ build_pkgs="build-base linux-headers openssl-dev pcre-dev wget zlib-dev" && \
@@ -57,8 +57,8 @@ RUN \
apk del ${build_pkgs} && \ apk del ${build_pkgs} && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
RUN apk --no-cache add php8=${PHP_VERSION} \ RUN apk --no-cache add php83 \
php${PHP_VERSION}-curl php83-curl
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf

View File

@@ -1,5 +1,7 @@
<?php <?php
putenv('WEBINSTALL=true');
putenv('DOCKER_REGISTRY_URL='.$_POST["registry"]); putenv('DOCKER_REGISTRY_URL='.$_POST["registry"]);
if ($_POST["smarthost"]=="Y") { if ($_POST["smarthost"]=="Y") {

1074
install.sh Executable file

File diff suppressed because it is too large Load Diff