Closed cburgard closed 4 years ago
Some improvement suggestions:
RUN
commands. This will save you lots of space and time, both for building the image and for using it.master
. You are risking build failures, breaking changes, bugs and undefined behaviour depending on when the Docker image is created. It would be better if you download the latest release - either add cd /usr/src/root && git checkout v{some-release} && cd /tmp
or as {some-release}.tar.gz
. This will make the Docker image consistent and more useful to your users.Some improvement suggestions:
- Combine the two
RUN
commands. This will save you lots of space and time, both for building the image and for using it.- It's strange that you build the
master
. You are risking build failures, breaking changes, bugs and undefined behaviour depending on when the Docker image is created. It would be better if you download the latest release - either addcd /usr/src/root && git checkout v{some-release} && cd /tmp
or as{some-release}.tar.gz
. This will make the Docker image consistent and more useful to your users.
Both of these comments also affect the original state of the Dockerfile before my changes, so I suppose @amadio needs to comment on these.
Combining the RUN commands is a good idea, same for fixing a version (or using a parameter for it). I originally meant these files only as simple examples, but making them follow better practices is always welcome!
Hi. Just wanted to ask, what is the status of ubuntu-root on docker? Currently if I just clone and build with docker build -t myroot .
(docker on OSX Catalina), I get several errors on CMAKE level, and build stops. e.g.:
Could NOT find ZSTD (missing: ZSTD_LIBRARY
if I put the libzstd-dev
in the package list, then a new error comes:
Could NOT find xxHash
I am interested in an ubuntu image with python3 support and PyROOT, with FitPanel plug-in enabled. For example the docker image rootproject/root has pyhton3 support, but is missing the FitPanel plug-in. I need to add cuda support for GPU, that's the main motivation for an ubuntu based root image.
many thanks
I was suffering from the same problem, which is why I added libxxhash-dev
I was suffering from the same problem, which is why I added
libxxhash-dev
Thanks, but we I try to build your Dockerfile, but I get the following error:
E: The repository 'http://security.ubuntu.com/ubuntu cosmic-security Release' does not have a Release file.
if I replace ubuntu:18.10
to just ubuntu
then I get:
E: Unable to locate package libxxhash-dev
it seems not be in the current ubuntu repository.
Superseded by #11. Closing.
This PR updates the Dockerfile and package list of the ROOT ubuntu docker build to ubuntu18, updating some of the package names and CMake options. Also, a few very commonly used packages have been added to make this container more useful usage as a CI base image for ROOT-based projects.