dockcross/web-wasm/Dockerfile.in

76 lines
1.5 KiB
Docker
Raw Permalink Normal View History

<<<<<<< HEAD
2021-05-07 10:58:30 +02:00
FROM emscripten/emsdk:2.0.20
MAINTAINER Bensuperpc "bensuperpc@gmail.com"
=======
FROM emscripten/emsdk:2.0.22
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
# 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
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 \
libncurses5 \
ncurses-dev \
pkg-config \
libtool \
2021-05-07 10:58:30 +02:00
python3 \
python3-pip \
rsync \
sed \
ssh \
bison \
flex \
tar \
pax \
vim \
wget \
xz-utils \
zlib1g-dev \
&& \
apt-get clean --yes
<<<<<<< HEAD
2021-05-07 10:58:30 +02:00
# Add symlink for compatibility
=======
>>>>>>> 9adf96c16b00759a9f7f69be3e61b5e16cdd6ac4
2021-05-07 10:58:30 +02:00
RUN ln -s /usr/bin/python3 /usr/bin/python
#include "common.dockcross"
#include "common.docker"
ENV EMSCRIPTEN_VERSION 2.0.22
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
RUN chmod -R 777 /emsdk/upstream/emscripten/cache
ENV CMAKE_TOOLCHAIN_FILE /emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
#include "common.label-and-env"