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
37177c64
authored
2017-08-15 13:23:53 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add _EXTRA_PACKAGES support during build.
1 parent
eb580602
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
3 deletions
nginx/Dockerfile
nginx/files/configure
node/Dockerfile
node/files/configure
php-fpm/Dockerfile
php-fpm/files/configure
nginx/Dockerfile
View file @
37177c6
FROM
debian:stretch
ARG NGINX_EXTRA_PACKAGES
COPY files/ /tmp/files/
RUN
/tmp/files/configure
...
...
nginx/files/configure
View file @
37177c6
...
...
@@ -2,6 +2,6 @@
set
-e
apt-get update
apt-get install -y ssmtp nginx libnginx-mod-http-subs-filter
apt-get install -y ssmtp nginx libnginx-mod-http-subs-filter
$NGINX_EXTRA_PACKAGES
rm /etc/nginx/sites-enabled/default
cp -a /tmp/files/entrypoint.sh /sbin
...
...
node/Dockerfile
View file @
37177c6
FROM
node
ARG NODE_EXTRA_PACKAGES
COPY files/ /tmp/files/
RUN
/tmp/files/configure
...
...
node/files/configure
View file @
37177c6
...
...
@@ -2,7 +2,7 @@
set
-e
apt-get update
apt-get install -y ssmtp sudo
apt-get install -y ssmtp sudo
$NODE_EXTRA_PACKAGES
#npm install -g gulp grunt
cp /tmp/files/entrypoint /root/entrypoint
...
...
php-fpm/Dockerfile
View file @
37177c6
FROM
debian:stretch
ARG PHPFPM_EXTRA_PACKAGES
COPY files/ /tmp/files/
RUN
/tmp/files/configure
...
...
php-fpm/files/configure
View file @
37177c6
...
...
@@ -2,7 +2,7 @@
set
-e
apt-get update
apt-get install -y sudo ssmtp php7.0-fpm php7.0-mysql php7.0-imagick php7.0-ldap php7.0-xml php7.0-mbstring php7.0-mcrypt php7.0-gd php7.0-apc
git ffmpeg ghostscript
apt-get install -y sudo ssmtp php7.0-fpm php7.0-mysql php7.0-imagick php7.0-ldap php7.0-xml php7.0-mbstring php7.0-mcrypt php7.0-gd php7.0-apc
$PHPFPM_EXTRA_PACKAGES
rm /etc/php/7.0/fpm/pool.d/www.conf
cp -a /tmp/files/app-defaults.conf /etc/php/7.0/fpm
...
...
Please
register
or
sign in
to post a comment