Skip to content

Commit

Permalink
Merge pull request #15 from ecelis/update/php-8.x
Browse files Browse the repository at this point in the history
Update/php 8.x
  • Loading branch information
ecelis authored Jul 9, 2023
2 parents aa0df44 + bda65d3 commit 658b7c9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
docs
modules
utilities

node_modules
.~lock
.~lock*
.env
data
.git
19 changes: 16 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4.28-apache
FROM php:8.0.29-apache
# Required dependencies
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
Expand All @@ -19,13 +19,26 @@ RUN apt-get update && apt-get install -y \
&& docker-php-ext-install mysqli \
&& docker-php-ext-install curl \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install zip
&& docker-php-ext-install zip
RUN /usr/bin/yes '' | /usr/local/bin/pecl install mcrypt-1.0.6
RUN /usr/bin/yes '' | /usr/local/bin/pecl install imagick
RUN apt-get clean all \
RUN apt-get remove \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
default-libmysqlclient-dev \
libcurl4-openssl-dev \
libmcrypt-dev \
libzip-dev \
libmagick++-dev \
zlib1g-dev \
libpng-dev \
libonig-dev \
apt-get clean all \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/* ; \
pecl update-channels ; \
rm -rf /usr/local/src ; \
rm -rf /tmp/pear ~/.pearrc
# ianseo setup
COPY src/ /opt/ianseo
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- MARIADB_DATABASE=ianseo
- MARIADB_PASSWORD=ianseo
ianseo:
image: ghcr.io/ecelis/ianseo-docker:v2023.04.01.562
image: ghcr.io/ecelis/ianseo-docker:v2023.04.01.562a
ports:
- "8080:80"
depends_on:
Expand Down

0 comments on commit 658b7c9

Please sign in to comment.