Dockerfile 843 Bytes
Newer Older
1 2 3 4 5
FROM camilstaps/clean:nightly

RUN \
	dpkg --add-architecture i386 &&\
	apt-get update -qq &&\
6
	apt-get install -y -qq --no-install-recommends\
Camil Staps's avatar
Camil Staps committed
7
		ca-certificates\
8 9
		git\
		build-essential\
Camil Staps's avatar
Camil Staps committed
10
		clang\
11 12 13 14 15 16
		gcc-multilib\
		gcc-mingw-w64-x86-64\
		libncurses5-dev\
		libncurses5-dev:i386\
		time\
		bc
17

Camil Staps's avatar
Camil Staps committed
18 19 20 21
# JavaScript shell, for WebAssembly tests
RUN apt-get install -y -qq --no-install-recommends curl unzip libnspr4 &&\
	mkdir /tmp/jsshell &&\
	cd /tmp/jsshell &&\
22
	curl "http://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/jsshell-linux-x86_64.zip" -o jsshell.zip &&\
Camil Staps's avatar
Camil Staps committed
23 24 25 26 27
	unzip "jsshell.zip" &&\
	cp js /usr/bin &&\
	cd - &&\
	rm -r /tmp/jsshell

28
RUN	install_clean_nightly.sh base lib-argenv lib-directory lib-dynamics lib-graphcopy lib-platform lib-stdlib
29 30

RUN sed -i 's%lib/exe/linker%/usr/bin/gcc:--gc-sections%' /opt/clean/etc/IDEEnvs