diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 82ba4822..0355f00d 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -6,14 +6,19 @@ FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT} ENV DEBIAN_FRONTEND=noninteractive +COPY Gemfile /tmp/Gemfile + RUN \ apt-get update \ && \ apt-get -y install --no-install-recommends \ jq \ libjq-dev \ + libonig-dev \ gnupg2 \ && \ sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin \ && \ - curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | /bin/bash - + curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | /bin/bash - \ + && \ + bundle install --gemfile /tmp/Gemfile diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e664c344..156c901d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,6 +3,7 @@ { "name": "Ruby", "build": { + "context": "..", "dockerfile": "Dockerfile", "args": { // Update 'VARIANT' to pick a Ruby version: 2, 2.7, 2.6, 2.5