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

implement opam-ci docker #4

Open
avsm opened this issue Jun 12, 2018 · 1 comment
Open

implement opam-ci docker #4

avsm opened this issue Jun 12, 2018 · 1 comment
Labels

Comments

@avsm
Copy link
Member

avsm commented Jun 12, 2018

The opam-ci logs command currently outputs a Dockerfile which has to be manually cut-and-pasted and built. Instead, this functionality should be shifted into an opam-ci docker subcommand which can:

# generate an interactive container
opam-ci docker run xen-evtchn.1.0.3 --compiler=4.06 --distro=debian-9
# build an image called `local-container`
opam-ci docker build -t local-container xen-evtchn.1.0.3 --compiler=4.06 --distro=debian-9
# just output the Dockerfile to stdout
opam-ci docker file xen-evtchn.1.0.3 --compiler=4.06 --distro=debian-9 
@avsm avsm added enhancement help wanted opam-ci opam-ci tool related labels Jun 12, 2018
@avsm
Copy link
Member Author

avsm commented Jun 15, 2018

We could also do ssh agent forwarding and volume mount the local git setup. @djs55 suggests looking for ~/Library/Containers/com.docker.docker/Data to detect Docker for Mac (since Linux doesnt do the right uid translation we need)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant