Skip to content

Commit

Permalink
Add devcontainer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed May 2, 2024
1 parent f52fb63 commit 1270f97
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ghcr.io/rails/devcontainer/images/ruby:3.2.2

RUN sudo apt-get update && sudo apt-get install -y watchman
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
{
"name": "Packwerk",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"dockerFile": "Dockerfile",

// Features to add to the dev container. More info: https://containers.dev/features.
// "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": "bundle install",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"sorbet.sorbet-vscode-extension"
]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
28 changes: 12 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ GEM
minitest (>= 4, < 6)
mocha (1.14.0)
netrc (0.11.0)
nokogiri (1.15.3-aarch64-linux)
racc (~> 1.4)
nokogiri (1.15.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.3-x86_64-darwin)
Expand Down Expand Up @@ -130,22 +132,15 @@ GEM
syntax_tree (>= 2.4)
ruby-progressbar (1.11.0)
smart_properties (1.17.0)
sorbet (0.5.10313)
sorbet-static (= 0.5.10313)
sorbet-runtime (0.5.10313)
sorbet-static (0.5.10313-universal-darwin-14)
sorbet-static (0.5.10313-universal-darwin-15)
sorbet-static (0.5.10313-universal-darwin-16)
sorbet-static (0.5.10313-universal-darwin-17)
sorbet-static (0.5.10313-universal-darwin-18)
sorbet-static (0.5.10313-universal-darwin-19)
sorbet-static (0.5.10313-universal-darwin-20)
sorbet-static (0.5.10313-universal-darwin-21)
sorbet-static (0.5.10313-universal-darwin-22)
sorbet-static (0.5.10313-x86_64-linux)
sorbet-static-and-runtime (0.5.10313)
sorbet (= 0.5.10313)
sorbet-runtime (= 0.5.10313)
sorbet (0.5.11367)
sorbet-static (= 0.5.11367)
sorbet-runtime (0.5.11367)
sorbet-static (0.5.11367-aarch64-linux)
sorbet-static (0.5.11367-universal-darwin)
sorbet-static (0.5.11367-x86_64-linux)
sorbet-static-and-runtime (0.5.11367)
sorbet (= 0.5.11367)
sorbet-runtime (= 0.5.11367)
spoom (1.1.11)
sorbet (>= 0.5.9204)
sorbet-runtime (>= 0.5.9204)
Expand Down Expand Up @@ -179,6 +174,7 @@ GEM
zeitwerk (2.6.4)

PLATFORMS
aarch64-linux
arm64-darwin-21
x86_64-darwin
x86_64-darwin-20
Expand Down

0 comments on commit 1270f97

Please sign in to comment.