From 8e45ed29f2fc3bad11c4d68a6f29ab4a07ba6b60 Mon Sep 17 00:00:00 2001 From: John Agapiou Date: Thu, 12 Dec 2024 15:30:57 -0800 Subject: [PATCH] Use install.sh in devcontainer PiperOrigin-RevId: 705650498 Change-Id: I690626e43e97dc59e51d290950385c2c19f4b7c2 --- .devcontainer/devcontainer.json | 2 +- .devcontainer/setup.sh | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100755 .devcontainer/setup.sh diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bd9cf4ed..feeb402c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,7 +14,7 @@ // on large machines). "--shm-size=6gb" ], - "postCreateCommand": ".devcontainer/setup.sh", + "postCreateCommand": "bin/install.sh", "customizations": { "vscode": { "extensions": [ diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh deleted file mode 100755 index e9e08d6e..00000000 --- a/.devcontainer/setup.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# -# Copyright 2024 DeepMind Technologies Limited. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Set up devcontainer -set -e - -python --version -pip --version -pip list - -pip install --no-deps --require-hashes -r requirements.txt -pip install --no-deps --no-index --no-build-isolation --editable . -pip list