Skip to content

Commit 02a4003

Browse files
authored
[hamlet] Update to php 8.1 (#6915)
1 parent 92ea679 commit 02a4003

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frameworks/PHP/hamlet/benchmark_config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"database": "mysql",
1616
"framework": "hamlet",
1717
"language": "PHP",
18-
"flavor": "PHP8",
18+
"flavor": "PHP8.1",
1919
"orm": "micro",
2020
"platform": "FPM/FastCGI",
2121
"webserver": "nginx",

frameworks/PHP/hamlet/hamlet.dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM ubuntu:20.04
22

3-
ENV PHP_VERSION 8.0
3+
ENV PHP_VERSION 8.1
44
ARG DEBIAN_FRONTEND=noninteractive
55

66
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
77
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
88
RUN apt-get update -yqq > /dev/null && \
99
apt-get install -yqq nginx git unzip curl \
10-
php${PHP_VERSION}-cli php${PHP_VERSION}-fpm php${PHP_VERSION}-apcu php${PHP_VERSION}-pdo-mysql > /dev/null
10+
php${PHP_VERSION}-cli php${PHP_VERSION}-fpm php${PHP_VERSION}-apcu php${PHP_VERSION}-pdo-mysql php${PHP_VERSION}-dev > /dev/null
1111

1212
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1313

0 commit comments

Comments
 (0)