Skip to content

Build script out of date #5

Description

@Leamsi9

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions