Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
open-source
docker-wordpress
Commits
d13e4460
Commit
d13e4460
authored
8 years ago
by
Fabio Montefuscolo
Browse files
Options
Download
Plain Diff
Merge branch 'master' into v4.7.4
parents
3c21bb88
0a525a31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Dockerfile
Dockerfile
+7
-7
No files found.
Dockerfile
View file @
d13e4460
FROM
hacklab/php:5.6-apache
MAINTAINER
Hacklab <contato@hacklab.com.br>
RUN
curl
-s
-o
wp-cli.phar
'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
?0.25
'
\
RUN
curl
-s
-o
wp-cli.phar
'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar'
\
&&
chmod
+x wp-cli.phar
\
&&
mv
wp-cli.phar /usr/local/bin/wp
\
&&
wp core download
--path
=
/var/www/html/
--version
=
4.7.4
--locale
=
pt_BR
--allow-root
\
&&
{
\
echo
"file_uploads = On"
;
\
echo
"upload_max_filesize = 2048M"
;
\
echo
"post_max_size = 2048M"
;
\
echo
"max_file_uploads = 20"
;
\
}
>
/usr/local/etc/php/conf.d/word
r
pess-upload.ini
&&
{
\
echo
"file_uploads = On"
;
\
echo
"upload_max_filesize = 2048M"
;
\
echo
"post_max_size = 2048M"
;
\
echo
"max_file_uploads = 20"
;
\
}
>
/usr/local/etc/php/conf.d/wordp
r
ess-upload
s
.ini
COPY
docker-entrypoint.sh /entrypoint.sh
COPY
htaccess /var/www/html/.htaccess
...
...
This diff is collapsed.
Click to expand it.
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