forked from KnicKnic/WASM-ImageMagick
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
16 lines (11 loc) · 754 Bytes
/
Dockerfile
File metadata and controls
16 lines (11 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM trzeci/emscripten:sdk-tag-1.38.12-64bit
#use latest due to jessie being retired
FROM trzeci/emscripten
#seems image is stilll jessie, lets copy this workaround I found at https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository
RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
RUN sed -i '/deb http:\/\/http.debian.net\/debian jessie-backports main/d' /etc/apt/sources.list
RUN cat /etc/apt/sources.list
RUN cat /etc/apt/sources.list.d/jessie-backports.list
RUN apt-get -o Acquire::Check-Valid-Until=false update
RUN apt-get update -y
RUN apt-get install -y autoconf libtool shtool autogen pkg-config