File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ // "image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu",
3+ // "features": {
4+ // "docker-in-docker": "latest"
5+ // },
6+ // "remoteUser": "vscode",
7+ "postCreateCommand" : " .devcontainer/post-create.sh" ,
8+ "customizations" : {
9+ "codespaces" : {
10+ "repositories" : {
11+ "movabletype/*" : {
12+ "permissions" : " write-all"
13+ }
14+ }
15+ }
16+ },
17+ "extensions" : [" mortenhenriksen.perl-debug" , " d9705996.perl-toolbox" ]
18+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -xe
3+
4+ sudo apt update
5+ sudo apt install -y make git zip libio-socket-ssl-perl
6+ sudo apt clean
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ sub handle_recipe {
5858 my @volumes ;
5959 for my $k ( keys %$data ) {
6060 my $repo = $data -> {$k }{location };
61+ if (($ENV {CODESPACES } || ' ' ) eq ' true' ) {
62+ $repo =~ s { ^git\@ github.com:} { https://github.com/} ;
63+ }
6164 my $dest_dir = $data -> {$k }{directory } || do {
6265 " $repo_base_dir /@{[basename($repo )]}" ;
6366 };
You can’t perform that action at this time.
0 commit comments