Bug #2933
closedDocker build is broken
Description
Known issues:
- The build recipe for the Python SDK is out-of-date.
Brett has a git stash that has some initial fixes for this.
Blockers:
The current version of Docker has a bug where it does not create symlinks for /dev/stdin
, /dev/stdout
, /dev/stderr
, and /dev/fd
. Most immediately, this causes build of the base image to fail when it tries to install Ruby with RVM, which depends on /dev/fd
. But it would also cause other issues; e.g., arv-put often reads from /dev/stdin
.
A fix for this has been merged with current Docker master, so we need to figure out if we want to continue from an older version, from a nightly build, or what.
Updated by Brett Smith almost 10 years ago
I just pushed a couple of commits which fix the build process for Docker images, built using the Docker package on apt.arvados.org. However, the results don't run:
brinstar % docker run -i -t -p 9901:443 --name sso_server arvados/sso apache2: Syntax error on line 265 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/conf.d/passenger: Cannot load /usr/local/rvm/gems/ruby-2.1.0/gems/passenger-4.0.23/buildout/apache2/mod_passenger.so into server: /usr/local/rvm/gems/ruby-2.1.0/gems/passenger-4.0.23/buildout/apache2/mod_passenger.so: cannot open shared object file: No such file or directory /etc/apache2/foreground.sh: line 1: kill: (-1) - No such process
I'm probably not going to be able to get back to this for a while, so I pushed these changes on the principle that they're simple bug fixes.
Updated by Ward Vandewege over 9 years ago
- Status changed from In Progress to Resolved