Coder Social home page Coder Social logo

docker-images's People

Contributors

bcoppens avatar beardhatcode avatar bmesuere avatar bsels avatar btws2 avatar chvp avatar dependabot-preview[bot] avatar dependabot[bot] avatar dieterpi avatar dmouriss avatar inteon avatar jorg-vr avatar kplevoet avatar m0n0chr0m3 avatar mathsaey avatar mvdcamme avatar nielsdos avatar niknetniko avatar nnmak avatar pverscha avatar rien avatar shimantorahman avatar stijndcl avatar thomasfaingnaert avatar

Watchers

 avatar  avatar  avatar  avatar

docker-images's Issues

Updating Docker Images

  • dodona-anaconda3 to Python 3.6
  • dodona-bash to Python 3.6 and ImageMagick 7.0.4-10

@pdawyndt and @nineiryn: could you mark above if you've tested on Naos? (Note: Naos seems very slow, timeouts could occur at random.)

Original issue by @ninewise on Mon Feb 20 2017 at 14:11.
Closed by @ninewise on Mon Apr 24 2017 at 18:07.

building the bash docker image fails

I can't take the new worker server into production because building the back images fails on imagemagick not being available.

--2017-11-30 15:24:37--  http://www.imagemagick.org/download/ImageMagick-7.0.7-8.tar.gz
Resolving www.imagemagick.org (www.imagemagick.org)... 198.72.81.86
Connecting to www.imagemagick.org (www.imagemagick.org)|198.72.81.86|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-11-30 15:24:37 ERROR 404: Not Found.

@dmouriss @dmouriss Why don't we install this with apt-get?

Original issue by @bmesuere on Thu Nov 30 2017 at 16:34.
Closed by @bmesuere on Thu Nov 30 2017 at 16:44.

Error in loading "topicmodels" package for R docker

In commit #244a381 many R packages were added to the R docker, one of which being "topicmodels".
However, there occurred an error while installing this package:
ctm.c:29:10: fatal error: gsl/gsl_rng.h: No such file or directory
line 16855 in the R Publish to Registry section (here)

While looking up this error message I came across someone experiencing a silimar issue on this blogpost and this stackoverflow post.
There seems to be an issue surrounding the installation of GSL (The GNU Scientific Library).
I am out of my depth when it comes to implementing this fix on docker.
Could someone please aid me in solving this issue to we can use the topicmodels package in our Dodona exercises using the R-judge?

import major modules when building docker instance

From https://github.ugent.be/dodona/dodona/issues/389

Importing larger modules like numpy, scipy, pandas takes some time if they haven't been imported before (Python stores compiled versions on disk). Since these modules have not been imported before in the docker instance, each time it gets started, the import of the modules gives some overhead. Could be bybpassed by importing some of these modules when building the docker.

Original issue by @charvp on Thu Sep 27 2018 at 14:36.

clean up the c# image

The C# image doesn't adhere to docker file best practices and doesn't pass our linting. While this might look innocent, it can have unexpected consequences: images built at a different time on a different worker node can behave differently.

To fix this, the following changes need to be made:

dodona-csharp.dockerfile:1 DL3006 Always tag the version of an image explicitly
dodona-csharp.dockerfile:4 DL3009 Delete the apt-get lists after installing something
dodona-csharp.dockerfile:5 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
dodona-csharp.dockerfile:5 DL3015 Avoid additional packages by specifying `--no-install-recommends`
dodona-csharp.dockerfile:6 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
dodona-csharp.dockerfile:6 DL3015 Avoid additional packages by specifying `--no-install-recommends`
dodona-csharp.dockerfile:19 DL3002 Last USER should not be root

Inspiration on fixing these can be found at #13 and at https://github.com/hadolint/hadolint/wiki.

r dockerfile contains car package but is not available in Dodona

Line 22 in r.dockerfile adds the 'car' package to the list

Rscript -e "install.packages('car')" && \

But when I tried loading the library in an dodona exercise, it have me an error:
Error while evaluating context: there is no package called β€˜car’

It seems like there goes something wrong installing the package, so when the package is called, it is not available.

Exercise I am referring to:
https://dodona.ugent.be/nl/courses/339/series/3514/activities/635124618/

The use of bash in main.sh and logger.sh

The R docker image I'm preparing, is based on alpine linux and doesn't come with a bash shell (alpine uses the ash shell).

Can #!/bin/bash be replaced with #!/bin/sh in main.sh and logger.sh? If not, I'll install the bash shell in the docker image (but I like to keep it as minimal as possible).

Original issue by jfmeys on Thu Apr 05 2018 at 17:55.

clean up the prolog image

The prolog image doesn't adhere to docker file best practices and doesn't pass our linting. While this might look innocent, it can have unexpected consequences: images built at a different time on a different worker node can behave differently.

To fix this, the following changes need to be made:

dodona-prolog.dockerfile:4 DL3009 Delete the apt-get lists after installing something
dodona-prolog.dockerfile:5 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
dodona-prolog.dockerfile:5 DL3015 Avoid additional packages by specifying `--no-install-recommends`
dodona-prolog.dockerfile:24 DL3002 Last USER should not be root

Inspiration on fixing these can be found at #13 and at https://github.com/hadolint/hadolint/wiki.

Clean up the Haskell image

The Haskell image doesn't adhere to docker file best practices and doesn't pass our linting. While this might look innocent, it can have unexpected consequences: images built at a different time on a different worker node can behave differently.

To fix this, the following changes need to be made:

dodona-haskell.dockerfile:4 DL3009 Delete the apt-get lists after installing something
dodona-haskell.dockerfile:5 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
dodona-haskell.dockerfile:5 DL3015 Avoid additional packages by specifying `--no-install-recommends`
dodona-haskell.dockerfile:6 DL3008 Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
dodona-haskell.dockerfile:6 DL3015 Avoid additional packages by specifying `--no-install-recommends`
dodona-haskell.dockerfile:33 DL3002 Last USER should not be root

Inspiration on fixing these can be found at #13 and at https://github.com/hadolint/hadolint/wiki.

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.