12 Commits

Author SHA1 Message Date
Okinea Dev
0836cdfbee
Added a list of extensions to pre-install in Codespaces. Improved the readability of the configuration 2024-05-14 09:57:17 +00:00
Bo Anderson
34d7a12f6b
devcontainer: fix creation error 2024-02-19 18:41:24 +00:00
Bo Anderson
3b1c171184
Further split up Gemfile into groups 2023-09-27 17:33:44 +01:00
Mike McQuaid
d984ce06f2
Improve Codespaces behaviour
- ensure that homebrew/core is always tapped
- make RuboCop stop complaining about permissions
2023-01-25 16:05:02 +00:00
Mike McQuaid
a92c9eed82
style: check more shell scripts.
We were missing a few here so add them. Also, fix the changes in
`on-create-command.sh` that this catches.
2022-11-09 17:29:38 +00:00
Mike McQuaid
709bb23d49
devcontainer/on-create-command: fix prebuild handling.
`CODESPACES_PREBUILD_TOKEN` has been unset as it breaks other things.
2022-11-09 15:38:40 +00:00
Mike McQuaid
59f4b5226a
tests: test on Ubuntu 18.04. 2022-11-09 14:45:43 +00:00
Mike McQuaid
bc4274fda0
devcontainer/on-create-command: fix Ubuntu 18.04, add debugging.
Add some debugging information to be able to customise the prebuild/not
cases for this script.

Also, handle `zsh-autosuggestions` not being available for Ubuntu 18.04.
2022-11-07 16:36:57 +00:00
Issy Long
0a950a4c23
.devcontainer/on-create-command: Add openssh-server (for gh cs ssh)
- My Codespaces workflow sometimes involves `gh cs ssh` for a terminal
  and tmux and vim (for better or for worse).
- I tried this on a `Homebrew/brew` Codespace and got this error. But it felt
  weird following that instruction to the letter and bloating the Docker image
  which we by default keep minimal.

```
❯ gh cs ssh
? Choose codespace: Homebrew/brew (master): redesigned spork
error getting ssh server details: failed to start server:
Please check if an SSH server is installed in the container.
If the docker image being used for the codespace does not have an SSH server,
install it in your Dockerfile or, for codespaces that use Debian-based images,
you can add the following to your devcontainer.json:

"features": {
    "ghcr.io/devcontainers/features/sshd:1": {
        "version": "latest"
    }
}
```
2022-11-01 22:59:24 +00:00
Mike McQuaid
f977ff4892
devcontainer/on-create-command: install Sorbet.
This doesn't take any longer and nice to have it cached.
2022-11-01 15:49:10 +00:00
Mike McQuaid
d8940d3cae
devcontainer/on-create-command: do more stuff.
- fix permissions
- install more gems/formulae
- remove system shellcheck that won't be used
2022-10-31 16:58:58 +00:00
Mike McQuaid
dd39b2be64
Add VSCode devcontainers
Should be useful for getting a development environment setup quickly.
2022-10-27 09:18:49 +01:00