1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/.devcontainer/devcontainer.json
2023-10-05 14:16:19 +01:00

25 lines
1.2 KiB
JSON

{
"name": "ruby 2",
"image": "mcr.microsoft.com/vscode/devcontainers/ruby:2.7",
//"image": "quay.io/rhn_support_gmcgoldr/vscode-ruby27-asciibinder",
"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&"
//"postCreateCommand": "asciibinder build --distro=openshift-enterprise && cd _preview/openshift-enterprise/main && ln -s welcome/index.html index.html && ruby -run -ehttpd . -p8000"
// Features to add to the dev container. More info: https://containers.dev/features.a
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip3 install --user -r requirements.txt",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}