From 0edf49b19dade4a140e4c562805a2f2ca918f817 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Thu, 19 Sep 2024 13:01:10 -0400 Subject: [PATCH] stash some devcontainer fixes during testing Signed-off-by: Dave Lee --- Dockerfile | 5 ++--- Makefile | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f08cb9a03b2a..8dd6e1d5b01b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -338,9 +338,8 @@ RUN if [ "${FFMPEG}" = "true" ]; then \ RUN apt-get update && \ apt-get install -y --no-install-recommends \ - ssh less && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* + ssh less wget +# For the devcontainer, leave apt functional in case additional devtools are needed at runtime. RUN go install github.com/go-delve/delve/cmd/dlv@latest diff --git a/Makefile b/Makefile index 286f4b5a2a19..9723c8ce730c 100644 --- a/Makefile +++ b/Makefile @@ -359,6 +359,9 @@ clean-tests: rm -rf test-dir rm -rf core/http/backend-assets +clean-dc: clean clean-tests + cp -r /build/backend-assets /workspace/backend-assets + ## Build: build: prepare backend-assets grpcs ## Build the project $(info ${GREEN}I local-ai build info:${RESET})