File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,10 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di
27
27
pcntl shmop soap sockets wddx
28
28
29
29
# Install ssh2
30
- RUN wget https://www.libssh2.org/download/libssh2-1.8.0.tar.gz && wget https://pecl.php.net/get/ssh2-1.1.2.tgz \
31
- && tar vxzf libssh2-1.8.0.tar.gz && tar vxzf ssh2-1.1.2.tgz \
32
- && cd libssh2-1.8.0 && ./configure \
33
- && make && make install \
34
- && cd ../ssh2-1.1.2 && phpize && ./configure --with-ssh2 \
35
- && make && make install \
36
- && echo "extension=ssh2.so" >> /usr/local/etc/php/conf.d/ssh2.ini
30
+ RUN apt-get update && apt-get -y install libssh2-1-dev && \
31
+ pecl install -f ssh2-alpha && \
32
+ echo "extension=ssh2.so" >> /usr/local/etc/php/conf.d/ssh2.ini && \
33
+ rm -rf /var/lib/apt/lists/*
37
34
38
35
# Install oci8
39
36
RUN apt-get update && apt-get -y install wget bsdtar libaio1 && \
You can’t perform that action at this time.
0 commit comments