From 4be91bc3e49d893b9e6f67fd85481e8f6c9c8b1d Mon Sep 17 00:00:00 2001 From: LordChunk Date: Mon, 6 May 2024 21:11:46 +0000 Subject: [PATCH] Fixed platform --- deno/templates/Dockerfile | 2 +- laravel/templates/Dockerfile | 2 +- typescript/templates/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deno/templates/Dockerfile b/deno/templates/Dockerfile index 31e863d..8409048 100644 --- a/deno/templates/Dockerfile +++ b/deno/templates/Dockerfile @@ -5,4 +5,4 @@ RUN curl -fsSL https://deno.land/install.sh | sh -s ${deno_version} # Preinstall Code Server for user 'vscode' to speed up first run COPY scripts/install-vs-code-server.sh /tmp/install-vs-code-server.sh -RUN su vscode -c "/tmp/install-vs-code-server.sh $(cat /tmp/arch)" \ No newline at end of file +RUN su vscode -c "/tmp/install-vs-code-server.sh linux" \ No newline at end of file diff --git a/laravel/templates/Dockerfile b/laravel/templates/Dockerfile index 701993d..ca1c63d 100644 --- a/laravel/templates/Dockerfile +++ b/laravel/templates/Dockerfile @@ -23,4 +23,4 @@ RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/ # Preinstall Code Server for user 'vscode' to speed up first run COPY scripts/install-vs-code-server.sh /tmp/install-vs-code-server.sh -RUN su vscode -c "/tmp/install-vs-code-server.sh $(cat /tmp/arch)" +RUN su vscode -c "/tmp/install-vs-code-server.sh linux" diff --git a/typescript/templates/Dockerfile b/typescript/templates/Dockerfile index 2134664..5eeddef 100644 --- a/typescript/templates/Dockerfile +++ b/typescript/templates/Dockerfile @@ -10,4 +10,4 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # We use 'node' instead of 'vscode' because the base image uses 'node' as the default user # https://github.com/devcontainers/images/blob/main/src/javascript-node/.devcontainer/Dockerfile#L10 COPY scripts/install-vs-code-server.sh /tmp/install-vs-code-server.sh -RUN su node -c "/tmp/install-vs-code-server.sh $(cat /tmp/arch)" \ No newline at end of file +RUN su node -c "/tmp/install-vs-code-server.sh linux" \ No newline at end of file