-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add devcontainer #620
Add devcontainer #620
Conversation
Best reviewed: commit by commit
Optimal code review plan (1 warning)
|
[CHATOPS:HELP] ChatOps commands.
|
dockers/dev/Dockerfile
Outdated
# limitations under the License. | ||
# | ||
|
||
FROM vdaas/vald-ci-container:latest AS builder |
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.
[hadolint] reported by reviewdog 🐶
DL3007 Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
|
||
ENV PATH=$PATH:$GOROOT/bin | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ |
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.
[hadolint] reported by reviewdog 🐶
DL3008 Pin versions in apt get install. Instead of apt-get install <package>
use apt-get install <package>=<version>
"go.testOnSave": true, | ||
"go.gopath": "/go" | ||
}, | ||
"extensions": [ |
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.
@kmrmt Do you have any recommends of extensions for Go development in VSCode?
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 👍
b164bfb
to
0fb58e1
Compare
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
# limitations under the License. | ||
# | ||
|
||
FROM vdaas/vald-ci-container:latest AS vald |
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.
[hadolint] reported by reviewdog 🐶
DL3007 Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
fabb22a
to
6670beb
Compare
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
seems 2 approvals I think it's okay to merge. |
[REBASE] Rebase triggered by kpango for branch: ci/devenv/add-codespace-and-devcontainer |
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
6670beb
to
6192d2f
Compare
[FORMAT] Updating license headers and formatting go codes triggered by kpango. |
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.
[APPROVED] This PR is approved by kpango.
Signed-off-by: Rintaro Okamura rintaro.okamura@gmail.com
Description:
To enable GitHub Codespaces, I added .devcontainer/devcontainer.json & dockers/dev/Dockerfile.
Related Issue:
Nothing.
How Has This Been Tested?:
Nothing.
Environment:
Types of changes:
Changes to Core Features:
Checklist: