We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845eb79 commit 036ee38Copy full SHA for 036ee38
Dockerfile
@@ -0,0 +1,18 @@
1
+# Define versions used to select image versions
2
+# (ARGs declared before FROM can't be used outside of FROMs)
3
+ARG FROM_PHP=8.0
4
+
5
+# Select distro
6
+ARG FROM_DISTRO=bullseye
7
8
+FROM php:${FROM_PHP}-fpm-${FROM_DISTRO}
9
10
+RUN apt-get update && apt install curl build-essential gcc libclang-dev make -y
11
12
+RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
13
14
+RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
15
+ENV PATH="/root/.cargo/bin:${PATH}"
16
17
+WORKDIR /code
18
+ENTRYPOINT [ "" ]
0 commit comments