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

Allow user to build image as tar file that can be 'docker load'ed #514

Closed
6 tasks done
TadCordle opened this issue Jul 6, 2018 · 3 comments
Closed
6 tasks done
Assignees
Milestone

Comments

@TadCordle
Copy link
Contributor

TadCordle commented Jul 6, 2018

https://github.com/GoogleContainerTools/jib/blob/master/proposals/build_tarball.md

  • Add private output path configuration parameter
  • Rename BuildTarballAndLoadDockerStep to LoadDockerStep
  • Add WriteTarFileStep
  • Add BuildSteps#forBuildToTarball()
  • Add new task to Gradle plugin
  • Add new mojo to Maven plugin
@briandealwis
Copy link
Member

Would it make sense to attach the tarball as an artifact to the project?

Is there any value in supporting a new packaging that would:

  • use package to generate the tar ball
  • use install to build to docker
  • use deploy to push to registry

@TadCordle
Copy link
Contributor Author

I'm not sure we want to do that, since currently when we generate the tarball blob, we never actually write it to disk. Adding the tarball as an actual artifact would add some unnecessary I/O to the other steps.

@briandealwis
Copy link
Member

Most of the repository managers are adding support for docker images anyways.

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

No branches or pull requests

2 participants