Skip to content

Can't install an external lib #262

@fprezat

Description

@fprezat

Hello,
I try to install an external lib using php:5.6-apache image.
I use this in my dockerfile to install phpredis lib

RUN curl -L -o /tmp/redis.tar.gz https://github.com/phpredis/phpredis/archive/3.0.0.tar.gz \
    && tar xfz /tmp/redis.tar.gz \
    && rm -r /tmp/redis.tar.gz \
    && mv phpredis-3.0.0 /usr/src/php/ext/redis \
    && docker-php-ext-install redis

But i get this error :

mv: cannot move 'phpredis-3.0.0' to '/usr/src/php/ext/redis': No such file or directory

Can you please help me on this
Thx :)

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