Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting fabsim release into a docker image #71

Closed
olivhoenen opened this issue Dec 4, 2018 · 7 comments

Comments

Projects
None yet
5 participants
@olivhoenen
Copy link
Collaborator

commented Dec 4, 2018

For different use cases like training or dissemination events, it will be very intersting to get fabsim (as other vecmatk software) available from a docker type image, to allow quick testing, as discussed at the end of the project wide meeting in Garching.

@djgroen

This comment has been minimized.

Copy link
Owner

commented Jan 16, 2019

Initially I though the contents of .travis.yml could be used to convert to a Docker image, but that does not seem to be so straightforward. Does anyone here have experience with building Docker images?

What we need to do is given here:
https://github.com/djgroen/FabSim3/blob/master/.travis.yml

@PaulKarlshoeferBULL

This comment has been minimized.

Copy link
Collaborator

commented Jan 17, 2019

Unfortunately, I haven't used docker so far.

@orbitfold

This comment has been minimized.

Copy link
Collaborator

commented Jan 17, 2019

Why isn't using .travis.yml straightforward? Technically though, you need to look at the contents of requirements.txt as well.

@arabnejad

This comment has been minimized.

Copy link
Collaborator

commented Jan 21, 2019

I just add the docker support for fabsim3, you can download by
docker pull vecmafabsim3/fabsimdocker
and login into the docker by:
docker run -it vecmafabsim3/fabsimdocker

@djgroen

This comment has been minimized.

Copy link
Owner

commented Jan 21, 2019

@arabnejad Excellent! @olivhoenen would you, or someone else at IPP, care to give the Docker image a try in due time and let us know if it works?

@arabnejad

This comment has been minimized.

Copy link
Collaborator

commented Jan 22, 2019

here is the main issue that I encountered, I think that maybe useful to others

clarification on using travis encrypt for passwords
generally, according to travis manual encryption, to login into Travis CI, we should use
$ travis login --com
and then encrypt the passphrase by
$ travis encrypt <var name>=<value>
it works with travis-ci.org

however, for travis-ci.com, the encrypt command should change to
$ travis login --pro
$ travis encrypt --com <var name>=<value>

@arabnejad

This comment has been minimized.

Copy link
Collaborator

commented Jan 23, 2019

possible next steps :

  • Optimizing docker images
  • Providing the Python Package Index (PyPI) for FabSim3 (writing .whl files)
  • built a docker image for FabSim3

any other suggestions ?

@arabnejad arabnejad closed this Mar 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.