UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
php
php74
Commits
6e93d717
Commit
6e93d717
authored
Aug 10, 2020
by
Tim Seagren
Browse files
adding desired extensions
parent
cc4eeab3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
Dockerfile
Dockerfile
+16
-1
download.yaml
download.yaml
+5
-0
No files found.
Dockerfile
View file @
6e93d717
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 \
...
...
download.yaml
View file @
6e93d717
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment