-
Notifications
You must be signed in to change notification settings - Fork 6
The command "phpenv global 5.5" failed and exited with 127 during . #5
Comments
PHP isn't supported yet I did have a look and I think I got it to work, just waiting for the cookbooks to finish building all the supported php versions. I'll nudge you to test it later. |
Great, I'll be happy to help with testing. |
Looks like this is going to take a fair bit of work. The basics are working, the setup goes through but is painfully slow (building 3 different php version takes on the order of 1-2 hours). The problem is that right now the docker containers aren't setup to start daemons inside the container which the php environment needs for mysql and stuff to come up. So I'd either have to hack around that with a per-language init script or just start ubunut's /sbin/init but that has a metric shit ton of problems so I'll probably just figure out how to use something like https://github.com/phusion/baseimage-docker instead. All modifications I made are in master and I uploaded the images to the docker registry if you want to give it a shot. I probably won't come around to fixing the init problems any time soon though since I don't have a pressing need for that myself you're welcome to try it yourself though, apart from the extremely slow build-run-debug cycle it shouldn't be too hard. You probably just have to replace ubuntu:precise with baseimage-docker's image and see if the daemons come up properly then. |
Well, here is my
and
How to add them inside? I'm not familiar with all this things yet, but what is the difficulty to add all supported languages/services from the beginning and just fix bugs if someone encounter them? Build time of base image? Because it is really awesome what you're doing in this project, and it would be great to see if it works out of the box with everything that is supported by travis-ci.org |
From: Nazar Mokrynskyi [email protected]
Ahhh I have to execute all the stuff from travis' base image template
Yeah that's what I got too
Looks like phusion/baseimage installs a completely seperate init
That is certainly fesible I just couldn't be bothered yet to use Build time of base image? Well the build environment has to come from somewhere :) travis-run To do this I use 2+n (where n is the number of supported languages)
Unfortunately travis builds almost everything important in their I append the travis-run version used to generate the images to the base_v0.2.3 I then push those images to docker's cloudy stuff so you / other users Because it is really awesome what you're doing in this project, and it Thanks, yeah I'd like that. Right now the largest problem is the |
BTW, why don't you use docker automatic image building? |
I have scripts that automate the build so there isn't really any But I have to test build the images before I do that either way ;) so There are also a few other reasons why I don't do this: travis-run I don't have a single dockerfile for a the repo but rather have a I tried to keep travis-run independent of the underlying I started out with schroot then switched over to vagrant for platform |
@nazar-pc I'm making progress towards making this work after all. I found a Dockerfile that works around ubuntu's upstart problems which I'm now using as the basis for the travis-run images. I also automated generating the chef-solo runlists from travis' worker templates. I'm building all the images right now to give it a spin, will probably take a few hours/days since they support quite a lot of languages ;) |
Well, I've just tried to run everything and error occurred during
To be honest, I have no idea why PHP 5.2 is here, it is not supported anymore, just like 5.3 too. I'm running tests for 5.4+, is it possible to avoid building of PHP 5.3- at all? About automatic builds - I'd prefer automatic builds because there is more trust, there is some guarantee about what is inside container since it is build from public source code directly from repository. |
Tried to run existing .travis.yml that works fine with Travis and got:
I'm worried mainly about:
But also:
Looks weird, Docker normally doesn't allow to edit
/etc/hosts
.Also files
components/modules/PhpMyAdmin/pma/config.header.inc.php
andincludes/js/ab.uikit-2.11.0.min.js
were removed, first 2 days ago, first - even more, it is obvious that they are not exists anymore (many other files were removed too, but only this two causes error), how travis-run found them?The text was updated successfully, but these errors were encountered: