Skip to content

Commit

Permalink
Merge pull request #19 from piplcom/sahar@update_php_version_to_8
Browse files Browse the repository at this point in the history
updated php version 8
  • Loading branch information
SaharRefua-Pipl authored Sep 12, 2023
2 parents c7690cd + 315b750 commit 669f69b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "APACHE2",
"homepage": "https://pipl.com/api/",
"require": {
"php": ">=7.1.0",
"php": ">=8.0.0",
"ext-curl": "*"
},
"suggest": {
Expand Down Expand Up @@ -37,6 +37,6 @@
]
},
"require-dev": {
"phpunit/phpunit": "^7"
"phpunit/phpunit": "^8"
}
}
}
23 changes: 1 addition & 22 deletions local_testing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
FROM php:7.1-fpm

RUN export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
libmagickwand-dev \
&& rm -rf /var/lib/apt/lists/* \
&& pecl install imagick-3.4.3 \
&& docker-php-ext-enable imagick

RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
nano \
libxslt1.1 \
libxslt1-dev \
unzip \
git \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd xsl
FROM composer:2.6.2


# Install Composer
WORKDIR /sdk

COPY . .
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

RUN composer i

0 comments on commit 669f69b

Please sign in to comment.