Giter VIP home page Giter VIP logo

docker-ruby's People

Contributors

ain avatar

Stargazers

 avatar  avatar

Watchers

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

docker-ruby's Issues

Restructure version branches to subfolders

For better maintenance, restructure version tags to version folders and adjust Docker's Automated Build accordingly.

Benefits:

  • better overview
  • single, correct README on Docker

PermissionError

if I run the image, I get this error

docker run ruby2.2.2
*** Killing all processes...
Traceback (most recent call last):
  File "/sbin/my_init", line 346, in <module>
    main(args)
  File "/sbin/my_init", line 264, in main
    import_envvars(False, False)
  File "/sbin/my_init", line 65, in import_envvars
    for envfile in listdir("/etc/container_environment"):
  File "/sbin/my_init", line 51, in listdir
    return sorted(os.listdir(path))
PermissionError: [Errno 13] Permission denied: '/etc/container_environment'

build differences

Image built on Docker Hub builds erroneously and produces errors on gem install <gem> that are not there with locally built images:

deploy@2ffbed7a907d:/var/passenger$ gem install bcrypt
Building native extensions.  This could take a while...
ERROR:  Error installing bcrypt:
    ERROR: Failed to build gem native extension.

    /home/deploy/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20151106-155-q5v3vf.rb extconf.rb
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling wrapper.c
compiling crypt_gensalt.c
compiling bcrypt_ext.c
compiling crypt_blowfish.c
compiling crypt.c
linking shared-object bcrypt_ext.so
/usr/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
make: *** [bcrypt_ext.so] Error 1

make failed, exit code 2

Gem files will remain installed in /home/deploy/.rvm/gems/ruby-2.2.3/gems/bcrypt-3.1.10 for inspection.
Results logged to /home/deploy/.rvm/gems/ruby-2.2.3/extensions/x86_64-linux/2.2.0/bcrypt-3.1.10/gem_make.out

2.2.3 image

2.2 version upgrade to 2.2.3 is required over security fixes.

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.