From d4fedac9ed6f0db92afaf969926907528df55127 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 25 Sep 2024 15:14:18 +0100 Subject: [PATCH] Avoid creation of multiple layers during build (#8) --- Containerfile | 55 ++++++++---------------------------------------- context/setup.sh | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 46 deletions(-) create mode 100755 context/setup.sh diff --git a/Containerfile b/Containerfile index 1a23a93..dcab2ef 100644 --- a/Containerfile +++ b/Containerfile @@ -2,54 +2,17 @@ FROM quay.io/devfile/universal-developer-image:ubi8-latest ARG PYV=3.11 -LABEL org.opencontainers.image.source https://github.com/ansible/ansible-workspace-env-reference-image -LABEL org.opencontainers.image.authors "Ansible DevTools" -LABEL org.opencontainers.image.vendor "Red Hat" -LABEL org.opencontainers.image.licenses "GPL-3.0" -LABEL org.opencontainers.image.description "An OpenShift Dev Spaces container image for Ansible." +LABEL org.opencontainers.image.source=https://github.com/ansible/ansible-workspace-env-reference-image +LABEL org.opencontainers.image.authors="Ansible DevTools" +LABEL org.opencontainers.image.vendor="Red Hat" +LABEL org.opencontainers.image.licenses="GPL-3.0" +LABEL org.opencontainers.image.description="An OpenShift Dev Spaces container image for Ansible." USER 0 -# install ansible-dev-tools specific packages -RUN <