Code Monkey home page Code Monkey logo

Comments (9)

Ch4s3 avatar Ch4s3 commented on August 27, 2024

Having the same issue.

from passenger-docker.

workmaster2n avatar workmaster2n commented on August 27, 2024

Also having this issue. Looked around the Brightbox APT (https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng) and it only appears to include the most recent minor version.

from passenger-docker.

FooBarWidget avatar FooBarWidget commented on August 27, 2024

That is correct. There's not much we can do about it. There is no way to lock down to a specific version when using Launchpad's repositories

from passenger-docker.

workmaster2n avatar workmaster2n commented on August 27, 2024

Would it make sense to remove the Brightbox dependency and instead install from source?

from passenger-docker.

FooBarWidget avatar FooBarWidget commented on August 27, 2024

Perhaps. Something to be considered for the future.

from passenger-docker.

workmaster2n avatar workmaster2n commented on August 27, 2024

Could you give an example of how you use this image without the locking ability? I think I'm doing something wrong. My projects fail as soon as the minor version is bumped. We rebuild the image as part of our CI system.

from passenger-docker.

FooBarWidget avatar FooBarWidget commented on August 27, 2024

If you're building passenger-docker from scratch (as in, you forked this repository and used our Dockerfile) then I'm afraid there's no way to lock down to a specific Ruby teeny version.

If you build on top of the images we supply, then you can just lock down to a specific passenger-docker version. However, if you run apt-get upgrade inside your own container, that that can still change the Ruby version. In that case, you can setup an apt-get hold to prevent apt-get upgrade from upgrading Ruby.

from passenger-docker.

workmaster2n avatar workmaster2n commented on August 27, 2024

You're right! I forgot that using the FROM declarative actually downloads the image from the hub instead of just executing that particular versions Dockerfile.

Thanks

from passenger-docker.

CamJN avatar CamJN commented on August 27, 2024

no longer relevant we use rvm now, closing

from passenger-docker.

Related Issues (20)

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.