forked from jellyfin/JavascriptSubtitlesOctopus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
41 lines (38 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# NOTE: python3-distutils should not be needed when emsdk > 1.39.13 is used,
# so remove it when updating emsdk
FROM debian:buster
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/force-unsafe-io
RUN apt-get update && apt-get install -y --no-install-recommends \
llvm \
clang \
cmake \
git \
ragel \
build-essential \
patch \
libtool \
itstool \
pkg-config \
python3 \
zip \
python-lxml \
python-pip \
python-html5lib \
python-chardet \
gettext \
autopoint \
automake \
autoconf \
m4 \
gperf \
wget \
python3-distutils && \
rm -rf /var/lib/apt/lists/*
RUN pip install ply
RUN git clone https://github.com/emscripten-core/emsdk.git && \
cd emsdk && \
./emsdk install 1.39.13 && \
./emsdk activate 1.39.13
ENV PATH=$PATH:/emsdk:/emsdk/upstream/emscripten:/emsdk/node/12.9.1_64bit/bin
WORKDIR /code
CMD ["make"]