This file contains 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 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
{ | |
"name": "Ruby Development", | |
"dockerFile": "Dockerfile", | |
"appPort": 9001, | |
"extensions": [ | |
"rebornix.Ruby", | |
"castwide.solargraph", | |
"kaiwood.endwise", | |
"misogi.ruby-rubocop", | |
"groksrc.ruby", |
This file contains 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
{ | |
"settings": { | |
"[ruby]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, | |
"[yaml]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, |
This file contains 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 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 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 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 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 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
ARG USERNAME=cfn_nag_dev | |
ARG USER_UID=1000 | |
ARG USER_GID=$USER_UID | |
RUN groupadd --gid $USER_GID $USERNAME \ | |
&& useradd --uid $USER_UID --gid $USER_GID --shell /bin/bash -m $USERNAME |
This file contains 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
&& apt-get install -y sudo \ | |
&& echo $USERNAME ALL=\(root\) NOPASSWD:/usr/sbin/foo > /etc/sudoers.d/$USERNAME \ | |
&& chmod 0440 /etc/sudoers.d/$USERNAME |
OlderNewer