2021-08-05 17:33:52 +02:00
|
|
|
<<<<<<< HEAD
|
2021-05-07 10:58:30 +02:00
|
|
|
FROM emscripten/emsdk:2.0.20
|
2021-05-14 18:38:41 +02:00
|
|
|
MAINTAINER Bensuperpc "bensuperpc@gmail.com"
|
2021-08-05 17:33:52 +02:00
|
|
|
=======
|
2021-05-27 00:01:06 +02:00
|
|
|
FROM emscripten/emsdk:2.0.22
|
2016-11-25 21:45:32 +01:00
|
|
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
2021-08-05 17:33:52 +02:00
|
|
|
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
|
2016-11-25 21:45:32 +01:00
|
|
|
|
|
|
|
# Revert back to "/bin/sh" as default shell
|
|
|
|
# See https://github.com/asRIA/emscripten-docker/blob/master/Dockerfile.in#L4
|
|
|
|
RUN rm /bin/sh && ln -s /bin/dash /bin/sh
|
|
|
|
|
2019-01-20 18:59:32 +01:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
apt-get update --yes && \
|
|
|
|
apt-get install --no-install-recommends --yes \
|
|
|
|
automake \
|
|
|
|
autogen \
|
|
|
|
bash \
|
|
|
|
build-essential \
|
|
|
|
bc \
|
|
|
|
bzip2 \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
dirmngr \
|
|
|
|
file \
|
|
|
|
gettext \
|
|
|
|
gnupg2 \
|
|
|
|
gosu \
|
|
|
|
gzip \
|
|
|
|
zip \
|
|
|
|
make \
|
2020-05-06 18:21:11 +02:00
|
|
|
libncurses5 \
|
2019-01-20 18:59:32 +01:00
|
|
|
ncurses-dev \
|
|
|
|
pkg-config \
|
|
|
|
libtool \
|
2021-05-07 10:58:30 +02:00
|
|
|
python3 \
|
|
|
|
python3-pip \
|
2019-01-20 18:59:32 +01:00
|
|
|
rsync \
|
|
|
|
sed \
|
|
|
|
ssh \
|
|
|
|
bison \
|
|
|
|
flex \
|
|
|
|
tar \
|
|
|
|
pax \
|
|
|
|
vim \
|
|
|
|
wget \
|
|
|
|
xz-utils \
|
|
|
|
zlib1g-dev \
|
|
|
|
&& \
|
2020-06-27 05:43:35 +02:00
|
|
|
apt-get clean --yes
|
|
|
|
|
2021-08-05 17:33:52 +02:00
|
|
|
<<<<<<< HEAD
|
2021-05-07 10:58:30 +02:00
|
|
|
# Add symlink for compatibility
|
2021-08-05 17:33:52 +02:00
|
|
|
=======
|
|
|
|
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
|
2021-05-07 10:58:30 +02:00
|
|
|
RUN ln -s /usr/bin/python3 /usr/bin/python
|
|
|
|
|
2020-06-27 05:43:35 +02:00
|
|
|
#include "common.dockcross"
|
2016-11-25 21:45:32 +01:00
|
|
|
|
|
|
|
#include "common.docker"
|
|
|
|
|
2021-05-27 00:01:06 +02:00
|
|
|
ENV EMSCRIPTEN_VERSION 2.0.22
|
2016-11-25 21:45:32 +01:00
|
|
|
|
2020-09-28 23:58:06 +02:00
|
|
|
ENV PATH /emsdk:/emsdk/upstream/bin/:/emsdk/upstream/emscripten:${PATH}
|
|
|
|
ENV CC=/emsdk/upstream/emscripten/emcc \
|
|
|
|
CXX=/emsdk/upstream/emscripten/em++ \
|
|
|
|
AR=/emsdk/upstream/emscripten/emar
|
2016-11-25 21:45:32 +01:00
|
|
|
|
2020-10-14 23:35:40 +02:00
|
|
|
RUN chmod -R 777 /emsdk/upstream/emscripten/cache
|
2016-11-25 21:45:32 +01:00
|
|
|
|
2020-09-28 23:58:06 +02:00
|
|
|
ENV CMAKE_TOOLCHAIN_FILE /emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
|
2017-09-14 17:44:44 +02:00
|
|
|
|
2020-05-07 02:21:14 +02:00
|
|
|
#include "common.label-and-env"
|