mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
25 lines
1.1 KiB
JSON
25 lines
1.1 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 && cd _preview/openshift-enterprise/main && ln -s welcome/index.html 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"
|
|
}
|