-
Notifications
You must be signed in to change notification settings - Fork 916
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
docker: add .dockerignore, add build instructions #299
docker: add .dockerignore, add build instructions #299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@denysvitali Thanks for the PR. Just one small thought.
README.md
Outdated
## Building the Docker Image | ||
|
||
``` | ||
yarn osd bootstrap | ||
yarn build --docker | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you feel this be good place inside the Developer Guide ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, the Developer Guide seems to be more focused on code styling and development suggestions, while this may actually be used (as in my case) to build the project and deploy it somewhere :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can see an argument for putting it in the README. If we feel like it's not the place for it in the future we could potentially move it if we are unsure about placing it in the README @mihirsoni
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind, my only points is we have many distribution. It could grow in future saying how to build .deb
or .rpm
. How about instead of making it docker specific, we make it generalized with yarn build --help
and have a line below as just one example and communication for other build types explore yarn build --help
command.
Thoughts @kavilla @denysvitali
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be an option, yes. But I would argue that nowadays Docker is the most portable solution and should be prioritized over the alternatives (rpm
s, deb
s). Usually, the first thing I look for a project (especially this size) is a Docker Image reference / Dockerfile
✅ DCO Check Passed 8ac21fd |
@denysvitali thanks! Would it possible to create and link an issue for the improvement related to .dockerignore from this PR? It's pretty obvious but would be a nice to have for reference. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the change!
Just realized that there is a conflict in the README after recent changes. I'll be adding a getting started section to the developer guide today, and we can put the Docker instructions there. |
@denysvitali you can add the instructions to the developer guide now, changes are in main. |
Signed-off-by: Denys Vitali <[email protected]>
8ac21fd
to
3c56578
Compare
Done, sorry for the delay |
✅ DCO Check Passed 3c56578 |
…roject#299) Signed-off-by: Denys Vitali <[email protected]>
Signed-off-by: Denys Vitali <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
Signed-off-by: tygao <[email protected]>
* feat: add workspace list Signed-off-by: tygao <[email protected]> * doc: update changelog Signed-off-by: tygao <[email protected]> * fix test for delete workspace modal (#299) Signed-off-by: tygao <[email protected]> * update function name and modal Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]>
* feat: add workspace list Signed-off-by: tygao <[email protected]> * doc: update changelog Signed-off-by: tygao <[email protected]> * fix test for delete workspace modal (#299) Signed-off-by: tygao <[email protected]> * update function name and modal Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> (cherry picked from commit 2a94f32) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* feat: add workspace list Signed-off-by: tygao <[email protected]> * doc: update changelog Signed-off-by: tygao <[email protected]> * fix test for delete workspace modal (#299) Signed-off-by: tygao <[email protected]> * update function name and modal Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> (cherry picked from commit 2a94f32) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
The change adds an entry in the README on how to build the Docker image,
additionally a
.dockerignore
has been added.Issues Resolved
None
Check List