Commit 82ab2af
authored
Upgrade devcontainer support for docker-in-docker (#4921)
* Remove use of software-properties-common
* Use latest docker-in-docker script
* Address lint issue
* Fix devcontainer configuration for docker-in-docker
- Add --privileged flag required by new docker-in-docker script
- Remove conflicting docker socket mount (docker-from-docker pattern)
- Fix VS Code setting for source.organizeImports
- Ensure proper docker-in-docker functionality with filesystem mounts
The new docker-in-docker script requires privileged access to mount
/sys/kernel/security and /tmp, and conflicts with the docker-from-docker
socket mounting approach.
* Revert to docker-from-docker for CI compatibility
- Remove docker-in-docker setup and revert to docker-from-docker pattern
- Install Docker CLI only (not daemon) for shared socket usage
- Remove --privileged requirement from devcontainer config
- Restore docker socket mount for CI workflow compatibility
- Remove unused docker-in-docker library scripts
This fixes CI failures where containers were exiting due to missing
privileges required by docker-in-docker, while maintaining the upgraded
Docker CLI installation approach.
* Consolidate apt updates
* Downgrade az1 parent 0743cb4 commit 82ab2af
File tree
4 files changed
+17
-201
lines changed- .devcontainer
- library-scripts
- v2/internal/testcommon
4 files changed
+17
-201
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | | - | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 51 | + | |
| 52 | + | |
54 | 53 | | |
55 | | - | |
56 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments