Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Upgraded PHP to 7.1.12 and raised memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 9, 2017
1 parent 76b7bd4 commit d796581
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM php:7.1.11-cli
FROM php:7.1.12-cli

RUN apt-get update && apt-get -y install apt-transport-https curl
RUN apt-get update && apt-get -y install apt-transport-https curl gnupg
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -

RUN echo "memory_limit=2048M" > $PHP_INI_DIR/conf.d/memory-limit.ini
RUN apt-get -y install git libsqlite3-dev libxml2-dev unzip yarn zlib1g-dev
RUN docker-php-ext-install bcmath pcntl pdo pdo_sqlite soap zip
RUN curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alt Three Docker PHP 7.1

```
docker build -t altthree/circle-php-cli-71:0.x.y .
docker push altthree/circle-php-cli-71:0.x.y
docker build -t altthree/circle-php-cli-71:1.x.y .
docker push altthree/circle-php-cli-71:1.x.y
```

0 comments on commit d796581

Please sign in to comment.