Commit dc0df9ea authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

fixing php8 cli - waiting for fixed upstream - amd64 repos are missing

parent 3d374963
......@@ -111,8 +111,8 @@ before_script:
tags:
- autoscale
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/cli:8.0.0rc4" -t "$CI_REGISTRY_IMAGE/cli:8.0" "dist/8.0/cli"
- docker push "$CI_REGISTRY_IMAGE/cli:8.0.0rc4"
- docker build --pull -t "$CI_REGISTRY_IMAGE/cli:8.0.0" -t "$CI_REGISTRY_IMAGE/cli:8.0" "dist/8.0/cli"
- docker push "$CI_REGISTRY_IMAGE/cli:8.0.0"
- docker push "$CI_REGISTRY_IMAGE/cli:8.0"
when: manual
......@@ -124,8 +124,8 @@ before_script:
- autoscale
when: manual
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/cli-xdebug:8.0.0rc4" -t "$CI_REGISTRY_IMAGE/cli-xdebug:8.0" "dist/8.0/cli-xdebug"
- docker push "$CI_REGISTRY_IMAGE/cli-xdebug:8.0.0rc4"
- docker build --pull -t "$CI_REGISTRY_IMAGE/cli-xdebug:8.0.0" -t "$CI_REGISTRY_IMAGE/cli-xdebug:8.0" "dist/8.0/cli-xdebug"
- docker push "$CI_REGISTRY_IMAGE/cli-xdebug:8.0.0"
- docker push "$CI_REGISTRY_IMAGE/cli-xdebug:8.0"
##########################################
......
FROM php:8.0.0RC4-alpine
FROM php:8.0.0-alpine
MAINTAINER Ludwig Ruderstaller "l.ruderstaller@cwd.at"
ENV COMPOSER_ALLOW_SUPERUSER=1 \
......@@ -34,12 +34,11 @@ RUN set -xe \
openssh-client \
libmcrypt-dev \
libmcrypt \
libzip-dev \
libgcrypt-dev \
oniguruma-dev \
&& apk --update --no-cache add grep \
&& docker-php-ext-configure gd \
--with-freetype=/usr/include/ \
&& apk --update --no-cache add grep \
&& docker-php-ext-configure gd \
--with-freetype-dir=/usr/include/ \
--with-png-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)\
gd \
......@@ -56,13 +55,16 @@ RUN set -xe \
xsl \
intl \
mbstring \
hash \
curl \
simplexml \
soap \
bcmath \
&& docker-php-ext-install sodium \
mcrypt \
&& pecl install mongodb \
&& docker-php-ext-enable mongodb \
&& apk del .build-deps \
&& rm -rf /tmp/* /var/cache/apk/*
......
......@@ -21,8 +21,8 @@
"use_xdebug": true
},
"8.0": {
"tags": ["8.0.0rc4", "8.0"],
"image": "php:8.0.0RC4-alpine",
"tags": ["8.0.0", "8.0"],
"image": "php:8.0.0-alpine",
"use_xdebug": true
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment