mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-12-14 18:15:26 +01:00
11e0998bc4
## Small Fixes due to PHP8.2 upgrade: - Internal PHP `ZendHashmap` changed the way that we access to the bucket ([commit](90b7bde615 (diff-dca4782c62f10b418ea7193e4641e688ffd7a9c97869f2b1a3a96e28da5653aaL371)
)) - Internal PHP `ArrayIterator` doesn't support parent `get_iterator` ([commit](15bbf6f337 (diff-bc002b59b592b4d44c13d898f9dc3ca60b1b1c8505a51a2a3557dfde51dfeb61L273)
))
15 lines
489 B
Docker
15 lines
489 B
Docker
FROM php:8.2-zts
|
|
|
|
WORKDIR /tmp
|
|
|
|
RUN apt update -y && apt upgrade -y
|
|
RUN apt install lsb-release wget gnupg software-properties-common -y
|
|
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
|
|
|
ENV RUSTUP_HOME=/rust
|
|
ENV CARGO_HOME=/cargo
|
|
ENV PATH=/cargo/bin:/rust/bin:$PATH
|
|
|
|
RUN (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly --no-modify-path) && rustup default nightly
|
|
|
|
ENTRYPOINT [ "/cargo/bin/cargo", "build", "--all", "--release" ] |