mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
alpine 3.6
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user