/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/opcache/jit/Dockerfile.arm64.example
15 строк
816 B
Arnaud Le Blanc
Make OPcache non-optional
27 июл 2025, 10:40
27 июл 2025, 10:40
7b4c14d
Код
Авторство
О чём код?
# Force this to build with arm64 even when the host architecture is different. # This requires that cross-compilation support be enabled with the steps in https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/ FROM --platform=arm64 ubuntu:20.04 RUN apt-get update -y # DEBIAN_FRONTEND=noninteractive is needed to stop the tzdata installation from hanging. ENV DEBIAN_FRONTEND=noninteractive RUN apt-get install -y tzdata RUN apt-get install -y pkg-config build-essential autoconf bison re2c \ libxml2-dev libsqlite3-dev ADD . /php-src/ WORKDIR /php-src RUN ./buildconf # Compile a minimal debug build. --enable-debug adds runtime assertions and is slower than regular builds. RUN ./configure --enable-debug --disable-all && make clean && make -j$(nproc)