Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Web Hosting EKS - PHP 8.4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OTDI Web Hosting
Container Images
Web Hosting EKS - PHP 8.4
Commits
2cb4a5f3
Commit
2cb4a5f3
authored
3 months ago
by
Edward Hicks
Browse files
Options
Downloads
Patches
Plain Diff
use docker-php-ext-enable in dockerfile instead of another ini file
parent
d990c207
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+15
-14
15 additions, 14 deletions
Dockerfile
usr/local/etc/php/conf.d/02_osuwebhosting.ini
+0
-0
0 additions, 0 deletions
usr/local/etc/php/conf.d/02_osuwebhosting.ini
usr/local/etc/php/conf.d/02_pecl_modules.ini
+0
-12
0 additions, 12 deletions
usr/local/etc/php/conf.d/02_pecl_modules.ini
with
15 additions
and
26 deletions
Dockerfile
+
15
−
14
View file @
2cb4a5f3
...
@@ -66,26 +66,27 @@ COPY usr/local/etc/php/conf.d/01_base_modules.ini /usr/local/etc/php/conf.d/
...
@@ -66,26 +66,27 @@ COPY usr/local/etc/php/conf.d/01_base_modules.ini /usr/local/etc/php/conf.d/
# Build & install PECL modules
# Build & install PECL modules
RUN
pecl channel-update pecl.php.net
RUN
pecl channel-update pecl.php.net
RUN
printf
"
\n
"
| pecl
install
--force
apcu
RUN
printf
"
\n
"
| pecl
install
--force
apcu
&&
docker-php-ext-enable apcu
##RUN pecl install --force geoip
##RUN pecl install --force geoip
&& docker-php-ext-enable geoip
#RUN git clone https://github.com/rlerdorf/geoip.git && \
#RUN git clone https://github.com/rlerdorf/geoip.git && \
# cd geoip/ && \
# cd geoip/ && \
# phpize && \
# phpize && \
# ./configure && \
# ./configure && \
# make && make install && \
# make && make install && \
# cd .. && \
# cd .. && \
# rm -rfv geoip
# rm -rfv geoip && \
RUN
pecl
install
--force
igbinary
# docker-php-ext-enable geoip
RUN
printf
"
\n
"
| pecl
install
--force
imagick
RUN
pecl
install
--force
igbinary
&&
docker-php-ext-enable igbinary
RUN
printf
"
\n
"
| pecl
install
--force
mcrypt
RUN
printf
"
\n
"
| pecl
install
--force
imagick
&&
docker-php-ext-enable imagick
RUN
printf
"
\n\n\n
yes
\n\n
yes
\n\n\n\n
"
| pecl
install
--force
memcached
RUN
printf
"
\n
"
| pecl
install
--force
mcrypt
&&
docker-php-ext-enable mcrypt
RUN
printf
"yes
\n
yes
\n
yes
\n
"
| pecl
install
--force
redis
RUN
printf
"
\n\n\n
yes
\n\n
yes
\n\n\n\n
"
| pecl
install
--force
memcached
&&
docker-php-ext-enable memcached
RUN
pecl
install
--force
uploadprogress
RUN
printf
"yes
\n
yes
\n
yes
\n
"
| pecl
install
--force
redis
&&
docker-php-ext-enable redis
RUN
pecl
install
--force
xdebug
RUN
pecl
install
--force
uploadprogress
&&
docker-php-ext-enable uploadprogress
RUN
pecl
install
--force
xhprof
RUN
pecl
install
--force
xdebug
&&
docker-php-ext-enable xdebug
RUN
pecl
install
--force
xmlrpc
RUN
pecl
install
--force
xhprof
&&
docker-php-ext-enable xhprof
RUN
printf
"
\n
"
| pecl
install
--force
yaml
RUN
pecl
install
--force
xmlrpc
&&
docker-php-ext-enable xmlrpc
RUN
printf
"
\n
"
| pecl
install
--force
yaz
RUN
printf
"
\n
"
| pecl
install
--force
yaml
&&
docker-php-ext-enable yaml
RUN
printf
"
\n
"
| pecl
install
--force
yaz
&&
docker-php-ext-enable yaz
# Push our customized files
# Push our customized files
COPY
etc/ /etc/
COPY
etc/ /etc/
...
...
This diff is collapsed.
Click to expand it.
usr/local/etc/php/conf.d/0
3
_osuwebhosting.ini
→
usr/local/etc/php/conf.d/0
2
_osuwebhosting.ini
+
0
−
0
View file @
2cb4a5f3
File moved
This diff is collapsed.
Click to expand it.
usr/local/etc/php/conf.d/02_pecl_modules.ini
deleted
100644 → 0
+
0
−
12
View file @
d990c207
extension
=
apcu
extension
=
igbinary
extension
=
imagick
extension
=
mcrypt
extension
=
memcached
extension
=
redis
extension
=
uploadprogress
zend_extension
=
xdebug
extension
=
xhprof
extension
=
xmlrpc
extension
=
yaml
extension
=
yaz
This diff is collapsed.
Click to expand it.
Edward Hicks
@hicks.367
mentioned in commit
d9c1dfed
·
3 months ago
mentioned in commit
d9c1dfed
mentioned in commit d9c1dfedf7795a11f8a42f960b748c87ed604a45
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment