JanitorTechnology / dockerfiles

popular development environments as containers
https://hub.docker.com/u/janitortechnology/
53 stars 20 forks source link

Big updates to most dockerfiles #221

Closed jankeromnes closed 5 years ago

jankeromnes commented 5 years ago

Various image builds are currently broken in CircleCI:

screenshot 2019-01-25 at 18 20 27

Hopefully this should unbreak most of them, and produce much fresher + nicer environments to code in.

jankeromnes commented 5 years ago

Servo failed with:

  = note: collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
          compilation terminated.
          /home/user/servo/target/debug/deps/libgstreamer_player-02155419a7c6f39d.rlib(gstreamer_player-02155419a7c6f39d.gstreamer_player.dybaughy-cgu.10.rcgu.o):gstreamer_player.dybaughy-cgu.10:function gstreamer_player::player::_$LT$impl$u20$gstreamer_player..auto..player..Player$GT$::get_config::h76eeaab9220cba5a: error: undefined reference to 'gst_player_get_config'
          /home/user/servo/target/debug/deps/libgstreamer_player-02155419a7c6f39d.rlib(gstreamer_player-02155419a7c6f39d.gstreamer_player.dybaughy-cgu.10.rcgu.o):gstreamer_player.dybaughy-cgu.10:function gstreamer_player::player::_$LT$impl$u20$gstreamer_player..auto..player..Player$GT$::set_config::h5e8f57ef741b2e42: error: undefined reference to 'gst_player_set_config'

error: aborting due to previous error

error: Could not compile `servo`.

To learn more, run the command again with --verbose.
[Warning] Could not generate notification! Optional Python module 'dbus' is not installed.
Build FAILED in 1:00:40
The command '/bin/sh -c ./mach build -d' returned a non-zero code: 101
Exited with code 101

I guess that's either because we should use lld instead of gold, or because it gets killed after using up too much RAM.

jankeromnes commented 5 years ago

And all Firefox images still fail: they need a more recent nasm (Ubuntu 16.04 ships with 2.11, while Firefox now needs 2.13, because of the awesome new av1 drivers).

EDIT: Instructions are here for installing 2.14.03: http://www.linuxfromscratch.org/blfs/view/svn/general/nasm.html

jankeromnes commented 5 years ago

Trying to fix the nasm thing with 2.14.02.

jankeromnes commented 5 years ago

Ok more recent nasm install works, that's good enough for me. Hopefully it will fix the Gecko-based images. If not, let's iterate on it more in follow-up pull requests. We'll need to fix Servo too.