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 678555c commit 3ecaa17Copy full SHA for 3ecaa17
Dockerfile
@@ -13,3 +13,6 @@ RUN php-build 8.0snapshot /etc/php/8.0
13
RUN php-build 7.3.22 /etc/php/7.3
14
RUN php-build 7.2.33 /etc/php/7.2
15
RUN php-build 7.1.33 /etc/php/7.1
16
+
17
+COPY switch-php-version /usr/local/bin/.
18
+RUN switch-php-version 7.4
switch-php-version
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+rm -f /usr/bin/php
3
+ln -s "/etc/php/$1/bin/php" "/usr/bin/php"
0 commit comments