Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
docker-image-recipes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
7c10c413
authored
2017-09-14 13:06:42 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Move location of php-fpm entrypoint from /root to /sbin.
1 parent
080295db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
php-fpm/Dockerfile
php-fpm/files/configure
php-fpm/Dockerfile
View file @
7c10c41
...
...
@@ -8,5 +8,5 @@ RUN /tmp/files/configure
ADD
https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar /usr/local/bin/wp
RUN
[
"chmod"
,
"755"
,
"/usr/local/bin/wp"
]
ENTRYPOINT
["/
root
/entrypoint"]
ENTRYPOINT
["/
sbin
/entrypoint"]
CMD
["/usr/sbin/php-fpm7.0", "--nodaemonize", "--force-stderr", "--fpm-config", "/etc/php/7.0/fpm/php-fpm.conf"]
...
...
php-fpm/files/configure
View file @
7c10c41
...
...
@@ -7,7 +7,7 @@ apt-get install -y sudo ssmtp php7.0-fpm php7.0-mysql php7.0-imagick php7.0-ldap
rm /etc/php/7.0/fpm/pool.d/www.conf
cp -a /tmp/files/app-defaults.conf /etc/php/7.0/fpm
cp /tmp/files/entrypoint /
root
/entrypoint
cp /tmp/files/entrypoint /
sbin
/entrypoint
addgroup hostgroup
adduser --gecos
'Host User'
--ingroup hostgroup --disabled-password hostuser
...
...
Please
register
or
sign in
to post a comment