mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-01 14:38:51 +00:00
fix: add more packages and fix build
This commit is contained in:
2 files changed
+6
-8
No files matched your search
@@ -1,22 +1,21 @@
|
|||||||
name: Nginx 8.1
|
name: Nginx 8.3
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
name: "nginx-ptero:8.1"
|
name: "nginx-ptero:8.3"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: docker/setup-qemu-action@v3
|
- uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- uses: docker/setup-buildx-action@v3
|
- uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
version: "v0.5.1"
|
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
|
|
||||||
- uses: docker/login-action@v3
|
- uses: docker/login-action@v3
|
||||||
@@ -32,4 +31,4 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/darksaid98/nginx-ptero:8.1
|
ghcr.io/darksaid98/nginx-ptero:8.3
|
||||||
+2
-3
@@ -1,7 +1,7 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk --update --no-cache add curl ca-certificates nginx
|
RUN apk --update --no-cache add curl ca-certificates nginx git imagemagick python3 diffutils openrc
|
||||||
RUN apk add php8 php8-xml php8-exif php8-fpm php8-session php8-soap php8-openssl php8-gmp php8-pdo_odbc php8-json php8-dom php8-pdo php8-zip php8-mysqli php8-sqlite3 php8-pdo_pgsql php8-bcmath php8-gd php8-odbc php8-pdo_mysql php8-pdo_sqlite php8-gettext php8-xmlreader php8-bz2 php8-iconv php8-pdo_dblib php8-curl php8-ctype php8-phar php8-fileinfo php8-mbstring php8-tokenizer php8-simplexml
|
RUN apk add php php-xml php-exif php-fpm php-cgi php-session php-soap php-openssl php-gmp php-pdo_odbc php-json php-dom php-pdo php-zip php-zlib php-intl php-mysqli php-sqlite3 php-pdo_pgsql php-bcmath php-gd php-odbc php-pdo_mysql php-pdo_sqlite php-gettext php-xmlreader php-bz2 php-iconv php-pdo_dblib php-curl php-ctype php-phar php-fileinfo php-mbstring php-tokenizer php-simplexml
|
||||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
@@ -11,5 +11,4 @@ ENV HOME /home/container
|
|||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|
||||||
CMD ["/bin/ash", "/entrypoint.sh"]
|
CMD ["/bin/ash", "/entrypoint.sh"]
|
||||||
Reference in new issue
Block a user