File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ ARG VARIANT="3"
2
+
3
+ FROM mcr.microsoft.com/vscode/devcontainers/ruby:${VARIANT}
4
+
5
+ USER vscode
6
+ WORKDIR /home/vscode
7
+
8
+ RUN mkdir -p .config/git \
9
+ && echo ".vscode/*" >> .config/git/ignore \
10
+ && echo "*.code-workspace" >> .config/git/ignore \
11
+ && echo ".history/" >> .config/git/ignore
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json" ,
3
+ "name" : " Ruby" ,
4
+ "build" : {
5
+ "dockerfile" : " Dockerfile" ,
6
+ "args" : {
7
+ "VARIANT" : " 3"
8
+ }
9
+ },
10
+ "extensions" : [
11
+ " rebornix.Ruby" ,
12
+ " ms-vsliveshare.vsliveshare" ,
13
+ " EditorConfig.EditorConfig" ,
14
+ " esbenp.prettier-vscode"
15
+ ],
16
+ "postCreateCommand" : " bundle install" ,
17
+ "remoteUser" : " vscode"
18
+ }
You can’t perform that action at this time.
0 commit comments