From f3eb3f84ed2573a2825d9269f8e996acebef592b Mon Sep 17 00:00:00 2001 From: Sajid Ali Date: Thu, 21 May 2026 11:36:08 -0400 Subject: [PATCH] tar is needed to copy files to/from container and an editor is necessary modified: Containerfile.debug --- Containerfile.debug | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Containerfile.debug b/Containerfile.debug index bea569ea7..6579fb339 100644 --- a/Containerfile.debug +++ b/Containerfile.debug @@ -26,7 +26,7 @@ FROM registry.access.redhat.com/hi/python:3.12-builder AS builder USER root -RUN dnf install -y git && dnf update -y +RUN dnf update -y && dnf install -y git && dnf clean all COPY . /app @@ -63,6 +63,11 @@ LABEL name="coldfront" \ vendor="NYU RTS" \ description="To gain inteactive access for a deployment of Coldfront in RTC" +USER root +# debug image: neovim for editing, tar for kubectl cp +RUN dnf update -y && dnf install -y neovim tar && dnf clean all +USER ${CONTAINER_DEFAULT_USER} + # Copy built bundles/manifest from frontend stage into the backend image COPY --from=frontend /app/coldfront/static/bundles /app/coldfront/static/bundles