gitpod-io / dockerfreeze

Freeze your development environment as a Dockerfile
MIT License
12 stars 4 forks source link

Support Vagrantfile Config #36

Open JesterOrNot opened 4 years ago

JesterOrNot commented 4 years ago

Create an option to output Vagrantfile

Kreyren commented 4 years ago

What do you propose assuming suggested?

JesterOrNot commented 4 years ago

Add a CLI flag that if used would create the Vagrantfile

Kreyren commented 4 years ago

LGTM

What about vagrant with docker?

JesterOrNot commented 4 years ago

Elaborate

Kreyren commented 4 years ago

Vagrant supports docker running on itself. Do we want to do something with that?

EDIT: I assume that depending on the resolution of https://github.com/gitpod-io/gitpod/issues/1265 gitpod would in theory allow vagrant to manage the current dockerfiles? Or do we want to run Docker on vagrant?

JesterOrNot commented 4 years ago

IDK, also like I said this integrates with Gitpod via the --gitpod flag but has more usecases

Kreyren commented 4 years ago

Why does it have to be gitpod flag assuming that we can detect it being used in gitpod?

JesterOrNot commented 4 years ago

What do you mean? This script runs locally on the user's computer

Kreyren commented 4 years ago

@JesterOrNot So what is the reason for gitpod flag?

JesterOrNot commented 4 years ago

It uses the gitpod workspace image as the base image and (eventually) optimize the image for Gitpod

Kreyren commented 4 years ago

@JesterOrNot can you make a new tracking for that so that i would know how to write the code for it?

JesterOrNot commented 4 years ago

see #41