alpine 3.6

This commit is contained in:
Wonderfall
2017-05-27 01:46:23 +02:00
parent 5238f438d7
commit 338e0a290f
7 changed files with 40 additions and 30 deletions

View File

@ -1,29 +1,28 @@
FROM alpine:3.5
FROM alpine:3.6
ARG ISSO_VER=0.10.6
ENV GID=1000 UID=1000
RUN echo "@community https://nl.alpinelinux.org/alpine/v3.4/community" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
RUN apk -U upgrade \
&& apk add -t build-dependencies \
python-dev \
libffi-dev \
py2-pip \
build-base" \
&& apk -U add \
${BUILD_DEPS} \
build-base \
&& apk add \
python \
py-setuptools \
sqlite \
libressl \
ca-certificates \
su-exec \
tini@community \
tini \
&& pip install --no-cache cffi \
&& pip install --no-cache misaka==1.0.2 \
&& pip install --no-cache "isso==${ISSO_VER}" \
&& apk del ${BUILD_DEPS} \
&& rm -rf /var/cache/apk/* /tmp/*
&& apk del build-dependencies \
&& rm -rf /tmp/* /var/cache/apk/*
COPY run.sh /usr/local/bin/run.sh