From 1730edbcdcb1f1c33b89e806cb618d72625d7f15 Mon Sep 17 00:00:00 2001 From: Alex Sukhov Date: Sun, 11 Feb 2024 01:37:32 +0300 Subject: [PATCH] Cleanup a bit --- Earthfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Earthfile b/Earthfile index cbfd475..8489650 100644 --- a/Earthfile +++ b/Earthfile @@ -14,12 +14,9 @@ build: FROM ${ARGOCD_BASE_IMAGE}:${ARGOCD_TAG} LABEL org.opencontainers.image.source="https://github.com/librepod/${TARGET_DOCKER_REGISTRY}" - # Switch to root for the ability to perform install + # Switch to root to install stuff USER root - RUN apt-get update - - # Setup non-root user WORKDIR /home/argocd RUN apt-get update && apt-get --no-install-recommends --yes install \ @@ -31,7 +28,6 @@ build: && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* COPY +bun/bun /usr/local/bin/bun - RUN bun --version # Switch back to non-root user USER 999