-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e7f321
commit ca2d45d
Showing
9 changed files
with
133 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
dockerfile = "Dockerfile" | ||
dockerfile = "./docker/php80/Dockerfile" | ||
|
||
[build] | ||
rust-toolchain = "nightly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
dockerfile = "./docker/php81/Dockerfile" | ||
|
||
[build] | ||
rust-toolchain = "nightly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
dockerfile = "./docker/php82/Dockerfile" | ||
|
||
[build] | ||
rust-toolchain = "nightly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[target.x86_64-unknown-linux-gnu] | ||
dockerfile = "./docker/php83/Dockerfile" | ||
|
||
[build] | ||
rust-toolchain = "nightly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Use the latest version of Ubuntu | ||
FROM ubuntu:latest | ||
|
||
# Avoid prompts from apt | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Update and install necessary packages | ||
RUN apt-get update && apt-get install -y \ | ||
software-properties-common \ | ||
curl \ | ||
build-essential \ | ||
pkg-config \ | ||
git \ | ||
cmake \ | ||
llvm \ | ||
libclang-dev \ | ||
&& add-apt-repository ppa:ondrej/php -y \ | ||
&& apt-get update | ||
|
||
# Install PHP 8.1 and php8.1-dev | ||
RUN apt-get install -y php8.1 php8.1-cli php8.1-common php8.1-dev | ||
|
||
# Create a non-root user and switch to it | ||
RUN useradd -m dockeruser | ||
USER dockeruser | ||
|
||
# Install Rust and cross | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ | ||
&& /home/dockeruser/.cargo/bin/rustup default nightly | ||
ENV PATH="/home/dockeruser/.cargo/bin:${PATH}" | ||
RUN cargo install cross | ||
|
||
# Verify installations | ||
RUN php -v | ||
RUN php-config --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Use the latest version of Ubuntu | ||
FROM ubuntu:latest | ||
|
||
# Avoid prompts from apt | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Update and install necessary packages | ||
RUN apt-get update && apt-get install -y \ | ||
software-properties-common \ | ||
curl \ | ||
build-essential \ | ||
pkg-config \ | ||
git \ | ||
cmake \ | ||
llvm \ | ||
libclang-dev \ | ||
&& add-apt-repository ppa:ondrej/php -y \ | ||
&& apt-get update | ||
|
||
# Install PHP 8.2 and php8.2-dev | ||
RUN apt-get install -y php8.2 php8.2-cli php8.2-common php8.2-dev | ||
|
||
# Create a non-root user and switch to it | ||
RUN useradd -m dockeruser | ||
USER dockeruser | ||
|
||
# Install Rust and cross | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ | ||
&& /home/dockeruser/.cargo/bin/rustup default nightly | ||
ENV PATH="/home/dockeruser/.cargo/bin:${PATH}" | ||
RUN cargo install cross | ||
|
||
# Verify installations | ||
RUN php -v | ||
RUN php-config --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Use the latest version of Ubuntu | ||
FROM ubuntu:latest | ||
|
||
# Avoid prompts from apt | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Update and install necessary packages | ||
RUN apt-get update && apt-get install -y \ | ||
software-properties-common \ | ||
curl \ | ||
build-essential \ | ||
pkg-config \ | ||
git \ | ||
cmake \ | ||
llvm \ | ||
libclang-dev \ | ||
&& add-apt-repository ppa:ondrej/php -y \ | ||
&& apt-get update | ||
|
||
# Install PHP 8.3 and php8.3-dev | ||
RUN apt-get install -y php8.3 php8.3-cli php8.3-common php8.3-dev | ||
|
||
# Create a non-root user and switch to it | ||
RUN useradd -m dockeruser | ||
USER dockeruser | ||
|
||
# Install Rust and cross | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ | ||
&& /home/dockeruser/.cargo/bin/rustup default nightly | ||
ENV PATH="/home/dockeruser/.cargo/bin:${PATH}" | ||
RUN cargo install cross | ||
|
||
# Verify installations | ||
RUN php -v | ||
RUN php-config --version |