File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
"image" : " mcr.microsoft.com/vscode/devcontainers/ruby:2.7" ,
5
5
// "image": "quay.io/rhn_support_gmcgoldr/vscode-ruby27-asciibinder",
6
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"
7
+ "postCreateCommand" : " gem install asciidoctor asciidoctor-diagram ascii_binder && asciibinder build --distro=openshift-enterprise && BR= \" $(git branch --show-current) \" && cd _preview/openshift-enterprise/$BR && ln -s welcome/index.html index.html && ruby -run -ehttpd . -p8000"
8
8
// "postCreateCommand": "asciibinder build --distro=openshift-enterprise && cd _preview/openshift-enterprise/main && ln -s welcome/index.html index.html && ruby -run -ehttpd . -p8000"
9
9
10
10
// Features to add to the dev container. More info: https://containers.dev/features.a
Original file line number Diff line number Diff line change 10
10
# pip3 install aura.tar.gz
11
11
command : |
12
12
asciibinder build --distro=openshift-enterprise
13
- cd _preview/openshift-enterprise/main
13
+ BR="$(git branch --show-current)"
14
+ cd _preview/openshift-enterprise/$BR
14
15
ln -s welcome/index.html index.html
15
16
python -m http.server
You can’t perform that action at this time.
0 commit comments