mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[tests] Pre-install Gemfile in devcontainer
This commit is contained in:
parent
d3e72ba792
commit
fd53494429
@ -6,14 +6,19 @@ FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
|
|||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
COPY Gemfile /tmp/Gemfile
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt-get update \
|
apt-get update \
|
||||||
&& \
|
&& \
|
||||||
apt-get -y install --no-install-recommends \
|
apt-get -y install --no-install-recommends \
|
||||||
jq \
|
jq \
|
||||||
libjq-dev \
|
libjq-dev \
|
||||||
|
libonig-dev \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
&& \
|
&& \
|
||||||
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin \
|
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
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Ruby",
|
"name": "Ruby",
|
||||||
"build": {
|
"build": {
|
||||||
|
"context": "..",
|
||||||
"dockerfile": "Dockerfile",
|
"dockerfile": "Dockerfile",
|
||||||
"args": {
|
"args": {
|
||||||
// Update 'VARIANT' to pick a Ruby version: 2, 2.7, 2.6, 2.5
|
// Update 'VARIANT' to pick a Ruby version: 2, 2.7, 2.6, 2.5
|
||||||
|
Loading…
Reference in New Issue
Block a user