mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 12:10:54 +00:00
fix: fix dev container failing to build (#21218)
The dev container fails to build because of the outdated docker-in-docker feature. This updates the docker-in-docker and fixes the build. I also updated the docker compose references in the docs.
This commit is contained in:
parent
2010c2a60a
commit
4b2abdf48d
@ -11,10 +11,9 @@
|
|||||||
},
|
},
|
||||||
"ghcr.io/devcontainers/features/rust:1": {},
|
"ghcr.io/devcontainers/features/rust:1": {},
|
||||||
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
|
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
|
||||||
"docker-in-docker": {
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {
|
||||||
"version": "latest",
|
"version": "latest",
|
||||||
"moby": true,
|
"moby": true
|
||||||
"dockerDashComposeVersion": "v1"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Configure tool-specific properties.
|
// Configure tool-specific properties.
|
||||||
|
@ -29,7 +29,7 @@ and open your browser at `http://localhost:{{serverPort}}/docs/` to see the docs
|
|||||||
To run the server on a Docker container, please execute the following from the root directory:
|
To run the server on a Docker container, please execute the following from the root directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose up --build
|
docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
@ -26,7 +26,7 @@ and open your browser at `http://localhost:8080/docs/` to see the docs.
|
|||||||
To run the server on a Docker container, please execute the following from the root directory:
|
To run the server on a Docker container, please execute the following from the root directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose up --build
|
docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user