Skip to content

#63: update PHP packages to 8.2#64

Open
GHX5T-SOL wants to merge 1 commit into
yegor256:masterfrom
GHX5T-SOL:63
Open

#63: update PHP packages to 8.2#64
GHX5T-SOL wants to merge 1 commit into
yegor256:masterfrom
GHX5T-SOL:63

Conversation

@GHX5T-SOL

Copy link
Copy Markdown

Fixes #63.

Summary

  • Replaces the default image PHP package set from PHP 7.2 to PHP 8.2.
  • Keeps the existing Ondrej PPA flow and Composer installation unchanged.

Validation

  • git diff --check
  • git diff -- Dockerfile | gitleaks stdin --no-banner --redact --exit-code 1
  • sudo docker run --rm ubuntu:22.04 bash -lc 'set -euxo pipefail; export DEBIAN_FRONTEND=noninteractive LC_ALL=C.UTF-8; apt-get update -y --fix-missing; apt-get -y --no-install-recommends install software-properties-common ca-certificates curl gnupg2 locales; locale-gen en_US.UTF-8 || true; add-apt-repository -y ppa:ondrej/php; apt-get update -y --fix-missing; apt-get -y install php8.2 php-pear php8.2-curl php8.2-dev php8.2-gd php8.2-mbstring php8.2-zip php8.2-mysql php8.2-xml; php --version'
    • observed PHP 8.2.31 (cli)
  • hadolint --config .hadolint.yaml --failure-threshold error Dockerfile via Dockerized hadolint on Kali; existing non-error findings only, exit 0.

No secrets or credentials are included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update PHP version to 8.2+ (PHP 7.2 is EOL)

1 participant