Compare commits

..

3 Commits

Author SHA1 Message Date
Jay
25bd9f0e54 update dockefile 2019-03-27 17:10:39 +08:00
Jay
ec811d63a5 add bash install 2019-03-13 15:18:46 +08:00
Jay
6aec057ccb update alpine 2019-03-13 14:27:01 +08:00

View File

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