Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

\"/opt/layer/build-php-remi.sh\": permission denied" #48

Description

@treii28

Downloading the git and running make works fine to build php71.zip but running make php73.zip I get the following error:

$ sudo make php73.zip
docker run --rm -e http_proxy= -v /home/scottw/src/php-lambda-layer:/opt/layer lambci/lambda:build-nodejs8.10 /opt/layer/build-php-remi.sh 3
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: "/opt/layer/build-php-remi.sh": permission denied": unknown.
Makefile:10: recipe for target 'php73.zip' failed
make: *** [php73.zip] Error 126

Activity

  1. treii28 commented on Jul 29, 2019

    @treii28
    Author

    FYI, I was able to bash in and add +x to the .sh files in /opt/layer but the raw git pulled them without execute set.

    EDIT: But it failed to build php or any of the modules. I see an error with no key for remi-release and epel-release but it looks like it tried to install them anyway, then there's an error trying to pull libargon2-devel:

    No package libargon2-devel available.
    Error: Nothing to do
    Loaded plugins: ovl, priorities
    There are no enabled repos.
    Run "yum repolist all" to see the repos you have.
    You can enable repos with yum-config-manager --enable
    cp: cannot stat ‘/usr/bin/php’: No such file or directory
    cp: cannot stat ‘/usr/lib64/libargon2.so.0’: No such file or directory
    cp: cannot stat ‘/usr/lib64/php/modules’: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions