Skip to content

Commit

Permalink
PHP 8.1 version: Use php:8.1.27-alpine3.18 image, composer 2.6.6 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
marji committed Jan 17, 2024
1 parent 51deab6 commit 4e7e2e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM php:8.1.20-alpine3.17

ARG RUNNER_UID=1001
FROM php:8.1.27-alpine3.18

ARG RUNNER_UID=1001

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.source="https://github.com/morpht/ci-php"

ENV COMPOSER_VERSION=2.6.4 \
COMPOSER_HASH_SHA256=5a39f3e2ce5ba391ee3fecb227faf21390f5b7ed5c56f14cab9e1c3048bcf8b8
ENV COMPOSER_VERSION=2.6.6 \
COMPOSER_HASH_SHA256=72600201c73c7c4b218f1c0511b36d8537963e36aafa244757f52309f885b314

RUN apk add --no-cache --update git \
bash \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# ci-php

Docker image based on the official dockerhub image php:8.1.x-alpine3.17
Docker image based on the official dockerhub image php:8.1.x-alpine3.18

A few modifications:

- added composer v2.5.x
- added composer v2.6.x
- installed several packages, e.g. git and mysql-client
- added php extensions - gd, pdo_mysql, zip

Expand Down

0 comments on commit 4e7e2e4

Please sign in to comment.