Or so I surmise. The line
RUN curl -sL https://github.com/php/php-src/archive/$PHP_VERSION.tar.gz | tar -zxv
appears to be invalid, and generates the following error:
Step 4/14 : RUN curl -sL https://github.com/php/php-src/archive/$PHP_VERSION.tar.gz | tar -zxv
---> Running in dcf37d427f9a
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl -sL https://github.com/php/php-src/archive/$PHP_VERSION.tar.gz | tar -zxv' returned a non-zero code: 2
Unable to find image 'php-build:latest' locally
Error response from daemon: pull access denied for php-build, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source
Replacing the link with RUN curl -sL https://www.php.net/distributions/php-7.3.15.tar.gz | tar -zxv appears to work, however then the line RUN ./buildconf --force generates another error:
Step 6/14 : RUN ./buildconf --force
---> Running in 5adcd37d04c2
/bin/sh: ./buildconf: No such file or directory
The command '/bin/sh -c ./buildconf --force' returned a non-zero code: 127
Unable to find image 'php-build:latest' locally
Error response from daemon: pull access denied for php-build, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source
I tried adding RUN autoreconf -i but then I get an autoreconf: 'configure.ac' or 'configure.in' is required error, which makes me wonder whether the autotools are being used at all or like other packages things have moved to CMake. Haven't yet found a fix, and reckoned I'd be faster buolding an EC2 instance!
Or so I surmise. The line
RUN curl -sL https://github.com/php/php-src/archive/$PHP_VERSION.tar.gz | tar -zxvappears to be invalid, and generates the following error:
Replacing the link with
RUN curl -sL https://www.php.net/distributions/php-7.3.15.tar.gz | tar -zxvappears to work, however then the lineRUN ./buildconf --forcegenerates another error:I tried adding
RUN autoreconf -ibut then I get anautoreconf: 'configure.ac' or 'configure.in' is requirederror, which makes me wonder whether the autotools are being used at all or like other packages things have moved to CMake. Haven't yet found a fix, and reckoned I'd be faster buolding an EC2 instance!