Skip to content

Commit

Permalink
rm OpenSSL (all it did was segfault)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Oct 6, 2019
1 parent 8877c0f commit 5379da9
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ RUN printf "deb http://archive.debian.org/debian/ wheezy main non-free contrib\n
RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y wget build-essential vim git

RUN cd /tmp \
&& wget --no-check-certificate http://www.openssl.org/source/openssl-0.9.8x.tar.gz \
&& tar xvfz openssl-0.9.8x.tar.gz \
&& cd openssl-0.9.8x \
&& ./config --prefix=/usr/local/openssl-0.9.8 \
&& make \
&& make install

RUN mkdir /usr/local/src/php4-build \
&& cd /usr/local/src/php4-build \
&& wget --no-check-certificate https://museum.php.net/php4/php-4.4.9.tar.bz2 \
&& tar jxf php-4.4.9.tar.bz2

Expand All @@ -31,7 +22,7 @@ RUN ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/ \

RUN apt-get build-dep -y php5

RUN cd /usr/local/src/php4-build/php-4.4.9/ \
RUN cd /tmp/php-4.4.9/ \
&& sed -i 's/__GMP_BITS_PER_MP_LIMB/GMP_LIMB_BITS/g' ext/gmp/gmp.c \
&& ./configure \
--with-pdo-pgsql \
Expand Down Expand Up @@ -64,8 +55,6 @@ RUN cd /usr/local/src/php4-build/php-4.4.9/ \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--enable-gd-native-ttf \
--with-openssl=/usr/local/openssl-0.9.8 \
--with-openssl-dir=/usr/local/openssl-0.9.8 \
--with-libdir=/lib/x86_64-linux-gnu \
--enable-ftp \
--with-imap \
Expand All @@ -76,4 +65,6 @@ RUN cd /usr/local/src/php4-build/php-4.4.9/ \
&& make \
&& make install-cli

WORKDIR /root

CMD ["bash"]

0 comments on commit 5379da9

Please sign in to comment.