File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " ruby 2" ,
3
+
4
+ "image" : " mcr.microsoft.com/vscode/devcontainers/ruby:2.7" ,
5
+ // "image": "quay.io/rhn_support_gmcgoldr/vscode-ruby27-asciibinder",
6
+
7
+ "postCreateCommand" : " gem install asciidoctor asciidoctor-diagram ascii_binder && asciibinder build --distro=openshift-enterprise && cd _preview/openshift-enterprise/main && ln -s welcome/index.html index.html && ruby -run -ehttpd . -p8000"
8
+ // "postCreateCommand": "asciibinder build --distro=openshift-enterprise && cd _preview/openshift-enterprise/main && ln -s welcome/index.html index.html && ruby -run -ehttpd . -p8000"
9
+
10
+ // Features to add to the dev container. More info: https://containers.dev/features.a
11
+ // "features": {},
12
+
13
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
14
+ // "forwardPorts": [],
15
+
16
+ // Use 'postCreateCommand' to run commands after the container is created.
17
+ // "postCreateCommand": "pip3 install --user -r requirements.txt",
18
+
19
+ // Configure tool-specific properties.
20
+ // "customizations": {},
21
+
22
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
23
+ // "remoteUser": "root"
24
+ }
Original file line number Diff line number Diff line change
1
+ # image:
2
+ # file: .gitpod.Dockerfile
3
+
4
+ tasks :
5
+ - name : Dev Server
6
+ # before: npm install --global http-server
7
+ init : |
8
+ rvm install 2.7.6
9
+ gem install asciidoctor asciidoctor-diagram ascii_binder
10
+ # pip3 install aura.tar.gz
11
+ command : |
12
+ asciibinder build --distro=openshift-enterprise
13
+ cd _preview/openshift-enterprise/main
14
+ ln -s welcome/index.html index.html
15
+ python -m http.server
You can’t perform that action at this time.
0 commit comments