mirror of
https://github.com/fspc/biketree.git
synced 2025-02-28 19:43:24 -05:00
This gets barcodes working by installing GD.
This commit is contained in:
parent
7793ad6921
commit
8be8bd8154
@ -3,7 +3,7 @@
|
||||
#############
|
||||
# Password is password for &
|
||||
|
||||
# docker run -d --name bikebike --env VIRTUAL_HOST=bikebike.wvcompletestreets.org --expose 80 -v /home/freesource/public_html/bikebike:/usr/share/nginx/html nginx:1.11-alpine
|
||||
# docker run -d --name bikebike --env VIRTUAL_HOST=biketree.bikelover.org --expose 80 -v /somewhere/public_html/bikebike:/usr/share/nginx/html nginx:1.11-alpine
|
||||
|
||||
FROM nginx:1.11-alpine
|
||||
|
||||
|
@ -10,8 +10,9 @@ MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com>
|
||||
# better hardwire www-data in the future in /etc/password
|
||||
# and make sure nginx also starts with same user
|
||||
RUN chown -R www-data:www-data /var/www/html; apk update; \
|
||||
apk add php5-mysql; \
|
||||
apk add php5-mysql php5-gd; \
|
||||
cp -a /etc/php5/* /usr/local/etc/php; \
|
||||
cp /usr/lib/php5/modules/mysql.so `php-config --extension-dir`/; \
|
||||
cp /usr/lib/php5/modules/gd.so `php-config --extension-dir`/; \
|
||||
sed -i 's/short_open_tag.*$/short_open_tag = On/' /usr/local/etc/php/php.ini;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user