Skip to content

Commit 49c5427

Browse files
committed
Add more integration tests
1 parent 49f9556 commit 49c5427

File tree

8 files changed

+728
-1664
lines changed

8 files changed

+728
-1664
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# envbuilder
22

3-
Build a development environment from `devcontainer.json` or `Dockerfile` inside of a container. Enable developers to customize their environment on pre-defined infrastructure.
3+
Build development environments from repositories in a container on Kubernetes, Docker, or gVisor. Allow developers to customize their environment on pre-defined infrastructure.
44

55
- Supports `devcontainer.json` and `Dockerfile`
6-
- Cache image layers with registries
7-
- Runs in Docker, Kubernetes, or gVisor
6+
- Cache image layers with registries for speedy builds
7+
- Runs on Kubernetes, Docker, and OpenShift
88

99
## Quickstart
1010

1111
The easiest way to play with `envbuilder` is to launch a Docker container that builds a sample image.
1212

1313
```bash
1414
docker run -it --rm \
15-
-e REPO_URL=https://github.com/vercel/next.js \
15+
-e GIT_URL=https://github.com/vercel/next.js \
1616
ghcr.io/coder/envbuilder
1717
```

cmd/envbuilder/main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ import (
2222
func main() {
2323
root := &cobra.Command{
2424
Use: "envbuilder",
25+
// Hide usage because we don't want to show the
26+
// "envbuilder [command] --help" output on error.
27+
SilenceUsage: true,
2528
RunE: func(cmd *cobra.Command, args []string) error {
26-
options := envbuilder.SystemOptions(os.Getenv)
29+
options := envbuilder.OptionsFromEnv(os.Getenv)
2730

2831
var sendLogs func(log agentsdk.StartupLog)
2932
agentURL := os.Getenv("CODER_AGENT_URL")

0 commit comments

Comments
 (0)