Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Maor Leger 6e16d9180a
[codespaces] - use prebuilt docker image (#20629)
### Packages impacted by this PR
N/A

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Our codespaces setup uses a custom Dockerfile in order to configure docker-in-codespaces and install rush.
But nowadays the default image installs docker by default and we can move installing rush to a post-create-script
instead of building the container.

All-in-all this reduces the time to start by over 50%, avoiding the need to build a custom image every time and reusing the
prebuilt default image. It also reduces the amount of code we have to maintain. 

From 1 minute and 7 seconds to 23 seconds before the file tree shows up. I just picked that event arbitrarily.

Resolves #17011
2022-03-02 10:22:59 -08:00
Jeremy Meng c776973e57
Fix codespace docker permission issue (#17306)
in `1-linux` we need `--privileged` in devcontainer's `runArgs`
2021-08-27 16:27:07 +00:00
Jeremy Meng 227bbcd6b3
Bump devcontainer version to 1-linux (#17009)
to have more recent vresions of development tools.
2021-08-20 20:34:15 +00:00
Maor Leger b194f0d59c
Fix codespaces container creation (#13338)
The base image now contains the same logic for installing Docker, 
so by the time our custom file ran Docker was already installed which 
causes Codespaces creation to error.

This commit does a few things:

1. It restores our ability to use codespaces for development
2. It installs rush globally
3. It disables Oryx's default behavior for node since it conflicts with `rush`
2021-01-22 08:52:15 -08:00
Mitch Denny 9c1576eba5
Remote container configuration. (#11885) 2020-10-17 09:29:30 +11:00