Code Monkey home page Code Monkey logo

docker-images's People

Contributors

docteurklein avatar fpoirotte avatar joelwurtz avatar ovr avatar pborreli avatar stucki avatar ternel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-images's Issues

Unable to build images on OSX (B2D v1.0.1)

Today, I wanted to try https://github.com/jolicode/jolici and got some errors.

I tried to manually build docker images but it does not seem to work...
here are the errors I get:

docker build --rm -t jolicode/base .
Sending build context to Docker daemon 186.4 kB

Sending build context to Docker daemon 
Step 0 : FROM ubuntu
 ---> ef83896b7fb9
Step 1 : MAINTAINER Joel Wurtz <[email protected]>
 ---> Using cache
 ---> e2d2390643fb
Step 2 : RUN echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list
 ---> Using cache
 ---> b4dbfd42b1f5
Step 3 : RUN echo 'deb http://archive.ubuntu.com/ubuntu precise-security main universe' >> /etc/apt/sources.list
 ---> Using cache
 ---> 53691884112f
Step 4 : RUN echo 'deb http://archive.ubuntu.com/ubuntu precise-updates main universe' >> /etc/apt/sources.list
 ---> Using cache
 ---> 46c646f99694
Step 5 : RUN echo 'deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse' >> /etc/apt/sources.list
 ---> Using cache
 ---> 168aa318e73b
Step 6 : ENV HOME /home
 ---> Using cache
 ---> 8b5890bc0274
Step 7 : RUN mkdir -p $HOME
 ---> Using cache
 ---> 64d933cebade
Step 8 : RUN apt-get update && apt-get install -y python-software-properties git curl wget
 ---> Using cache
 ---> c30d25154f6f
Successfully built c30d25154f6f
docker build --rm -t jolicode/php54 languages/php/5.4
Sending build context to Docker daemon 3.072 kB

Sending build context to Docker daemon 
Step 0 : FROM jolicode/base
 ---> c30d25154f6f
Step 1 : MAINTAINER Joel Wurtz <[email protected]>
 ---> Using cache
 ---> fb36d4003b64
Step 2 : RUN add-apt-repository ppa:ondrej/php5-oldstable && apt-get update
 ---> Running in 6a0c188b216b
�[91mTraceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 185, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 97, in __init__
�[0m�[91m    self.reload_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 585, in reload_sourceslist
�[0m�[91m    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
�[0mYou are about to add the following PPA to your system:
 This branch follows the oldstable PHP packages as maintained by me & rest of the Debian pkg-php team.

NOTE: Ubuntu 13.10 (and higher) won't be supported in the repository.  If you require PHP 5.4 use Ubuntu 12.04.x LTS.

You can get more information about the packages at https://deb.sury.org

It also includes some widely used PHP modules (if you need some other feel free to send me a request via deb.sury.org or via launchpad).

If you need newest PHP 5.5 you can use the main PHP repository:
    ppa:ondrej/php5

PLEASE READ: If you like my work and want to give me a little motivation, please consider donating: https://deb.sury.org/pages/donate.html
 More info: https://launchpad.net/~ondrej/+archive/php5-oldstable
2014/06/26 17:20:10 The command [/bin/sh -c add-apt-repository ppa:ondrej/php5-oldstable && apt-get update] returned a non-zero code: 1
make: *** [php54] Error 1

I get the same error when trying to build php55but php53 works fine.

Support travis_retry function

Travis provides a travis_retry function that eases retrying commands (in particular for temporary networking issues).

[…] you can wrap commands using the function travis_retry which checks the return code of a command, retrying it three times if the return code is non-zero.

install: travis_retry bundle install

http://docs.travis-ci.com/user/build-timeouts/#Timeouts-installing-dependencies

See travis-ci/travis-build#104 for the source of the function definition.

Support for this function would be nice.

Date timezone

When executing:

docker run -t -i -vpwd:/project jolicode/phaudit pdepend --summary-xml=sum.xml src/

Having this error:

PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

node-0.10: symlinks are broken

problem:
symlinks are not absolute

show:
ls -g $(npm -g root) #print relative symlinks for installed node packages

solution:
npm install -g npm@2
npm update -g npm

Add php7 support for phaudit

Currently it not possible to use phaudit with projects written in PHP7 (since tools like phpmetrics relies on reflections).

Add a php 5.6 version

Travis CI support php 5.6 and it would be nice for jolici to support it as well. Could phpenv be used to create the docker image?

Creating archive disabled by the php.ini setting phar.readonly

I am currently testing JoliCI for Drupal Console project and the default container php.ini setting for creating archive .phar files is disabled and I am getting the following error message:

[UnexpectedValueException]
creating archive "/home/project/console.phar" disabled by the php.ini setting
phar.readonly

This is the Drupal Console project travis file
https://github.com/hechoendrupal/DrupalAppConsole/blob/master/.travis.yml#L22

There is any plan to change the container php.ini configuration to

phar.readonly = false

NOTE: This is a duplicated issue from jolicode/JoliCi#49

Possible to install rubygems by default?

Hello,

It could be cool to install rubygems by default as this is useful for some projects to run their test suite...

Don't know really what is the best strategy to implement that though...

I could help if you give me the right direction to do so...

Mess detector throws not enough memory exception

Exception shows while it generates html report.

Generating Summary HTML Report...
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in phar:///usr/local/bin/phpmetrics/src/Hal/Component/Bounds/Bounds.php on line 28
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/phpmetrics:0
PHP   2. Symfony\Component\Console\Application->run() /usr/local/bin/phpmetrics:17
PHP   3. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Application.php:117
PHP   4. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Application.php:186
PHP   5. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Application.php:815
PHP   6. Hal\Application\Command\RunMetricsCommand->execute() phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Command/Command.php:256
PHP   7. Hal\Application\Command\Job\Queue->execute() phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/RunMetricsCommand.php:163
PHP   8. Hal\Application\Command\Job\ReportWriter->execute() phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/Queue.php:51
PHP   9. Hal\Application\Formater\Summary\Html->terminate() phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/ReportWriter.php:75
PHP  10. Hal\Component\Bounds\Bounds->calculate() phar:///usr/local/bin/phpmetrics/src/Hal/Application/Formater/Summary/Html.php:78
PHP  11. call_user_func_array:{phar:///usr/local/bin/phpmetrics/src/Hal/Component/Bounds/Bounds.php:28}() phar:///usr/local/bin/phpmetrics/src/Hal/Component/Bounds/Bounds.php:28
PHP  12. array_merge_recursive() phar:///usr/local/bin/phpmetrics/src/Hal/Component/Bounds/Bounds.php:28

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.