UNCLASSIFIED

Commit 6e93d717 authored by Tim Seagren's avatar Tim Seagren
Browse files

adding desired extensions

parent cc4eeab3
ARG BASE_REGISTRY=registry1.dsop.io
ARG BASE_IMAGE=redhat/ubi/ubi8
ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8
ARG BASE_TAG=8.2
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as builder
......@@ -17,6 +17,7 @@ COPY php.tar.gz /usr/local/src/
COPY bison.tar.gz /
COPY textinfo.tar.gz /
COPY re2c.tar.gz /
COPY libsodium.tar.gz /
RUN dnf update --setopt=tsflags=nodocs -y \
&& dnf install --setopt=tsflags=nodocs -y \
......@@ -30,7 +31,16 @@ RUN dnf update --setopt=tsflags=nodocs -y \
libtool \
sqlite \
sqlite-devel \
openssl-devel \
curl-devel \
&& dnf clean all \
&& mkdir -p /usr/src/libsodium \
&& tar -zxf /libsodium.tar.gz --strip-components=1 -C /usr/src/libsodium \
&& rm /libsodium.tar.gz \
&& cd /usr/src/libsodium \
&& ./configure \
&& make \
&& make install \
&& mkdir -p /usr/local/src/textinfo \
&& tar -zxf /textinfo.tar.gz --strip-components=1 -C /usr/local/src/textinfo \
&& rm /textinfo.tar.gz \
......@@ -64,7 +74,12 @@ RUN dnf update --setopt=tsflags=nodocs -y \
--with-config-file-path=${PHP_INI_PATH} \
--with-config-file-scan-dir=${PHP_INI_PATH}/conf.d \
--without-pear \
--with-mhash \
--with-curl \
--with-openssl \
--with-zlib \
--with-pdo-sqlite=/usr \
--with-pdo-mysql=mysqlnd \
--with-sqlite3=/usr \
--enable-fpm \
&& make -j4 \
......
......@@ -9,6 +9,11 @@ resources:
validation:
type: "sha256"
value: "c2b5f7d2c8a112689201f9b994538ec32cf13ae7cd2e4f3287f72117f1bfa4e6"
- url: "https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz"
filename: "libsodium.tar.gz"
validation:
type: "sha256"
value: "6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1"
- url: "http://ftp.gnu.org/gnu/bison/bison-3.5.4.tar.gz"
filename: "bison.tar.gz"
validation:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment