File tree Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Expand file tree Collapse file tree 1 file changed +2
-22
lines changed Original file line number Diff line number Diff line change 11{
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 && BR=\" $(git branch --show-current)\" && cd _preview && ln -s openshift-enterprise/$BR/welcome/index.html openshift-enterprise/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"
2+ "image" :" mcr.microsoft.com/devcontainers/universal:2" ,
3+ "postCreateCommand" : " sleep 30 && docker run --rm -it -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c \" git config --global --add safe.directory /docs && asciibinder build --distro openshift-rosa && asciibinder build --distro openshift-enterprise\" && python3 -m http.server -d ./_preview"
244}
You can’t perform that action at this time.
0 commit comments