Disable docker build action (#494)

This commit is contained in:
Saeed Vaziry 2025-02-16 16:25:59 +01:00 committed by GitHub
parent 4d59529767
commit 75e554ad74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 14 deletions

View File

@ -2,9 +2,9 @@ name: Docker Latest
on: on:
workflow_dispatch: workflow_dispatch:
push: # push:
branches: # branches:
- 2.x # - 2.x
jobs: jobs:
build-and-push: build-and-push:

View File

@ -2,8 +2,8 @@ name: Docker Release
on: on:
workflow_dispatch: workflow_dispatch:
release: # release:
types: [ created ] # types: [ created ]
jobs: jobs:
build-and-push: build-and-push:

View File

@ -8,19 +8,15 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
# requirements # requirements
RUN apt-get install -y software-properties-common curl zip unzip gcc RUN apt-get install -y software-properties-common curl zip unzip gcc nginx \
cron gnupg gosu curl ca-certificates zip unzip supervisor libcap2-bin libpng-dev \
# nginx
RUN apt-get install -y nginx
# php
RUN apt-get update \
&& apt-get install -y cron gnupg gosu curl ca-certificates zip unzip supervisor libcap2-bin libpng-dev \
dnsutils librsvg2-bin fswatch wget openssh-client \ dnsutils librsvg2-bin fswatch wget openssh-client \
&& add-apt-repository ppa:ondrej/php -y \ && add-apt-repository ppa:ondrej/php -y \
&& apt-get update \ && apt-get update \
&& apt-get install -y php8.2 php8.2-fpm php8.2-mbstring php8.2-mcrypt php8.2-gd php8.2-xml \ && apt-get install -y php8.2 php8.2-fpm php8.2-mbstring php8.2-mcrypt php8.2-gd php8.2-xml \
php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl php8.2-curl php8.2-gettext php8.2-zip php8.2-bcmath php8.2-soap php8.2-redis php8.2-sqlite3 php8.2-intl
# php
COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini COPY docker/php.ini /etc/php/8.2/cli/conf.d/99-vito.ini
# composer # composer