This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.5 | |
RUN gem install bundler \ | |
rubocop \ | |
solargraph |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"settings": { | |
"[ruby]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, | |
"[yaml]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions": [ | |
"redhat.vscode-yaml" | |
], | |
"settings": { | |
"yaml.format.singleQuote": true, | |
"yaml.customTags": [ | |
"!And sequence", | |
"!Cidr sequence", | |
"!Equals sequence", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"postCreateCommand": "bundle install" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── .devcontainer | |
│ ├── .devcontainer.json | |
│ └── Dockerfile | |
├── Gemfile | |
├── Gemfile.lock | |
├── LICENSE.md | |
├── README.md | |
├── bin | |
│ └── foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Ruby Development", | |
"dockerFile": "Dockerfile", | |
"appPort": 9001, | |
"extensions": [ | |
"rebornix.Ruby" | |
], | |
"settings": { | |
"[ruby]": { | |
"editor.insertSpaces": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"remote.containers.workspaceMountConsistency": "consistent", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"mounts": [ | |
"source=/LOCAL/PATH/GOES/HERE,target=/CONTAINER/PATH/GOES/HERE,type=bind" | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"mounts": [ | |
"source=project_name-bash_history,target=/commandhistory,type=volume", | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" \ | |
&& mkdir /commandhistory \ | |
&& touch /commandhistory/.bash_history \ | |
&& chown -R $USERNAME /commandhistory \ | |
&& echo $SNIPPET >> "/home/$USERNAME/.bashrc" |
OlderNewer