Git Product home page Git Product logo

Comments (7)

elderone avatar elderone commented on July 21, 2024

I think you must update and upgrade image, but not the container.
Just do "docker pull debian:jessie && docker build -t yourname/redmine ." regularly

from docker-redmine.

b-a-t avatar b-a-t commented on July 21, 2024

Well, docker-redmine is inherited FROM sameersbn/ubuntu:14.04.20141001, so I believe without modifying Dockerfile it won't work. I think Sameer updates this base image periodically, so 'dist-upgrade' is just a handy option for those who rebuild image between those snapshots, but wants to have system up-to-date...

from docker-redmine.

elderone avatar elderone commented on July 21, 2024

https://github.com/sameersbn/docker-redmine/releases/tag/v2.5.2-3
upgrade to sameersbn/debian:jessie.20141001

from docker-redmine.

sameersbn avatar sameersbn commented on July 21, 2024

@b-a-t @elderone Performing apt-get upgrade or apt-get dist-upgrade in a container is not advised by docker developers. For the simple reason that it can break the image altogether. Refer docker best practices post by crosbymichael who is a core developer of the docker project.

To be honest, I used to perform apt-get upgrade in the dockerfiles of my projects. Since the above post I have stopped doing it.

from docker-redmine.

b-a-t avatar b-a-t commented on July 21, 2024

@sameersbn I see your reasoning. Well, I guess have to stick to it :)

Speaking of common practices, https://docs.docker.com/faq/#why-is-debian_frontendnoninteractive-discouraged-in-dockerfiles discourage from using:

ENV DEBIAN_FRONTEND noninteractive

from docker-redmine.

b-a-t avatar b-a-t commented on July 21, 2024

BTW, latest now uses ubuntu14.04 as a base image, and 2.5.2-3 uses debian:jessie. So which one is going to be mainstream for docker-redmine now?

from docker-redmine.

sameersbn avatar sameersbn commented on July 21, 2024

@b-a-t thanks for the info on the use of ENV DEBIAN_FRONTEND noninteractive. I will remove it from the base image.

So which one is going to be mainstream for docker-redmine now?

The switch to ubuntu:14:04 is the one I will be sticking by. No more base image changes. Please refer to my comment if you are interesting in knowing why I made the switch

from docker-redmine.

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.