mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 10:31:13 +01:00
Try fixing build
This commit is contained in:
parent
83302da96a
commit
ca93d08b6e
@ -28,4 +28,18 @@ pipeline:
|
|||||||
platforms: ${platform}
|
platforms: ${platform}
|
||||||
tag: next
|
tag: next
|
||||||
when:
|
when:
|
||||||
event: push
|
event:
|
||||||
|
- tag
|
||||||
|
- push
|
||||||
|
|
||||||
|
docker-deploy:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
secrets: [docker_username, docker_password]
|
||||||
|
settings:
|
||||||
|
repo: danog/madelineproto
|
||||||
|
dockerfile: ${dockerfile}
|
||||||
|
platforms: ${platform}
|
||||||
|
tag: latest
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
@ -1,6 +1,6 @@
|
|||||||
# Either "" or "danog/" to pull the risc-v images
|
# Either "" or "danog/" to pull the risc-v images
|
||||||
ARG PREFIX
|
ARG IMG_PREFIX
|
||||||
FROM ${PREFIX}php:fpm-alpine
|
FROM ${IMG_PREFIX}php:fpm-alpine
|
||||||
|
|
||||||
RUN apk add make g++ && \
|
RUN apk add make g++ && \
|
||||||
curl -sSLf https://github.com/danog/PrimeModule-ext/archive/refs/tags/2.0.tar.gz | tar -xz && \
|
curl -sSLf https://github.com/danog/PrimeModule-ext/archive/refs/tags/2.0.tar.gz | tar -xz && \
|
||||||
@ -18,6 +18,6 @@ RUN sed -i -E "s/^(IPE_VERSION=)master$/\11.1.0/" /usr/local/bin/install-php-ext
|
|||||||
install-php-extensions ffi pq ev-beta eio-beta intl gmp mbstring pdo_mysql xml dom curl zip opcache && \
|
install-php-extensions ffi pq ev-beta eio-beta intl gmp mbstring pdo_mysql xml dom curl zip opcache && \
|
||||||
rm /usr/local/bin/install-php-extensions
|
rm /usr/local/bin/install-php-extensions
|
||||||
|
|
||||||
ADD ./php.ini /usr/local/etc/php/php.ini
|
ADD ./tests/dockerfiles/php/php.ini /usr/local/etc/php/php.ini
|
||||||
|
|
||||||
CMD ["php"]
|
CMD ["php"]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Either "" or "danog/" to pull the risc-v images
|
# Either "" or "danog/" to pull the risc-v images
|
||||||
ARG PREFIX
|
ARG IMG_PREFIX
|
||||||
FROM ${PREFIX}php:fpm-bullseye
|
FROM ${IMG_PREFIX}php:fpm-bullseye
|
||||||
|
|
||||||
ADD https://raw.githubusercontent.com/danog/docker-php-extension-installer/master/install-php-extensions /usr/local/bin/
|
ADD https://raw.githubusercontent.com/danog/docker-php-extension-installer/master/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
@ -16,4 +16,6 @@ RUN sed -i -E "s/^(IPE_VERSION=)master$/\11.1.0/" /usr/local/bin/install-php-ext
|
|||||||
install-php-extensions ffi pq ev-beta eio-beta intl gmp mbstring pdo_mysql xml dom curl zip opcache && \
|
install-php-extensions ffi pq ev-beta eio-beta intl gmp mbstring pdo_mysql xml dom curl zip opcache && \
|
||||||
rm /usr/local/bin/install-php-extensions
|
rm /usr/local/bin/install-php-extensions
|
||||||
|
|
||||||
|
ADD ./tests/dockerfiles/php/php.ini /usr/local/etc/php/php.ini
|
||||||
|
|
||||||
CMD ["php"]
|
CMD ["php"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user