From 7f4358354abb9b92ade3f07318a79d85781048c3 Mon Sep 17 00:00:00 2001 From: Marc Doerflinger Date: Tue, 2 Apr 2024 07:40:00 +0000 Subject: [PATCH] fix devcontainer dockerfile --- .devcontainer/Dockerfile | 4 ++-- .devcontainer/docker-compose.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index c06a842..00e243f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,6 @@ # [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster -ARG VARIANT=18-bullseye -FROM mcr.microsoft.com/devcontainers/typescript-node:0-${VARIANT} +ARG VARIANT=20-bookworm +FROM mcr.microsoft.com/devcontainers/typescript-node:${VARIANT} # install mcfly as root RUN curl -LSfs https://raw.githubusercontent.com/cantino/mcfly/master/ci/install.sh | sh -s -- --git cantino/mcfly diff --git a/.devcontainer/docker-compose.yaml b/.devcontainer/docker-compose.yaml index 51cae84..712ccaf 100644 --- a/.devcontainer/docker-compose.yaml +++ b/.devcontainer/docker-compose.yaml @@ -13,7 +13,7 @@ services: context: .. dockerfile: .devcontainer/Dockerfile args: - VARIANT: 20-bullseye + VARIANT: "1-20" volumes: - ..:/workspaces/staking-backend-processor:cached - staking-backend-processor-node_modules:/workspaces/staking-backend-processor/node_modules