update alpine

This commit is contained in:
Jay 2019-03-13 14:27:01 +08:00
parent b774d45c9e
commit 6aec057ccb

View File

@ -1,10 +1,6 @@
FROM node:lts FROM node:lts-alpine
WORKDIR /data WORKDIR /data
COPY ./ffmpeg.tgz / RUN echo "http://dl-4.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
RUN apt-get update && \ echo "http://dl-4.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
apt-get full-upgrade -y && \ echo "http://dl-4.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apt-get install -y unoconv curl imagemagick graphicsmagick curl wget python3 python3-pip qpdf poppler-utils git curl wget && \ apk add --no-cache build-base py3-unoconv imagemagick graphicsmagick curl wget git python3-dev jpeg-dev zlib-dev qpdf poppler-utils ffmpeg python
apt-get clean && \
mkdir -p /usr/local/bin && \
tar zxvf /ffmpeg.tgz -C /usr/local/bin && \
rm /ffmpeg.tgz