mirror of
https://github.com/wallabag/docker
synced 2025-12-19 12:41:47 +00:00
switched to alpine edge
there are alot of php fixes in edge. alot of people have problems with php and older kernel versions to collect random data. also included a alpine upgrade command. this will prevent docker from building a wallabag image with older system files.
This commit is contained in:
committed by
xsteadfastx
parent
d1c050662b
commit
6f22d1ef68
17
Dockerfile
17
Dockerfile
@@ -1,13 +1,13 @@
|
|||||||
FROM alpine:3.5
|
FROM alpine:edge
|
||||||
|
|
||||||
LABEL maintainer "Marvin Steadfast <marvin@xsteadfastx.org>"
|
LABEL maintainer "Marvin Steadfast <marvin@xsteadfastx.org>"
|
||||||
|
|
||||||
ARG WALLABAG_VERSION=2.2.2
|
ARG WALLABAG_VERSION=2.2.2
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& echo "@edge http://dl-4.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
|
&& apk update \
|
||||||
&& echo "@testing http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& apk upgrade --available \
|
||||||
&& apk add --no-cache \
|
&& apk add \
|
||||||
ansible \
|
ansible \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
@@ -16,7 +16,7 @@ RUN set -ex \
|
|||||||
nginx \
|
nginx \
|
||||||
pcre \
|
pcre \
|
||||||
php7 \
|
php7 \
|
||||||
php7-amqp@testing \
|
php7-amqp \
|
||||||
php7-bcmath \
|
php7-bcmath \
|
||||||
php7-ctype \
|
php7-ctype \
|
||||||
php7-curl \
|
php7-curl \
|
||||||
@@ -33,16 +33,17 @@ RUN set -ex \
|
|||||||
php7-pdo_sqlite \
|
php7-pdo_sqlite \
|
||||||
php7-phar \
|
php7-phar \
|
||||||
php7-session \
|
php7-session \
|
||||||
|
php7-simplexml \
|
||||||
|
php7-tokenizer \
|
||||||
php7-xml \
|
php7-xml \
|
||||||
php7-zlib \
|
php7-zlib \
|
||||||
php7\
|
|
||||||
py-mysqldb \
|
py-mysqldb \
|
||||||
py-psycopg2 \
|
py-psycopg2 \
|
||||||
py-simplejson \
|
py-simplejson \
|
||||||
rabbitmq-c@edge \
|
rabbitmq-c \
|
||||||
s6 \
|
s6 \
|
||||||
tar \
|
tar \
|
||||||
&& ln -s /usr/bin/php7 /usr/bin/php \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||||
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
||||||
&& curl -s http://getcomposer.org/installer | php \
|
&& curl -s http://getcomposer.org/installer | php \
|
||||||
|
|||||||
Reference in New Issue
Block a user