From e19630aacafe292f75482ce1d78c6af40f30c01f Mon Sep 17 00:00:00 2001 From: Joel Sugarman Date: Mon, 30 Dec 2024 12:39:28 +0000 Subject: [PATCH] Chore: Add label auther details --- Dockerfile | 7 ++++++- docker/apply_base.dockerfile | 7 ++++++- docker/apply_ci.dockerfile | 6 ++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7226b003a7..ede007d81d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ FROM ministryofjustice/apply-base:latest-3.4.1 -LABEL org.opencontainers.image.authors="apply for legal aid team" + +LABEL org.opencontainers.image.vendor="Ministry of Justice" \ + org.opencontainers.image.authors="Apply for civil legal aid team (apply-for-civil-legal-aid@digital.justice.gov.uk)" \ + org.opencontainers.image.title="Apply for civil legal aid" \ + org.opencontainers.image.description="Web service to apply for legal aid in civil matters" \ + org.opencontainers.image.url="https://github.com/ministryofjustice/laa-apply-for-legal-aid" # add non-root user and group with alpine first available uid, 1000 RUN addgroup -g 1000 -S appgroup \ diff --git a/docker/apply_base.dockerfile b/docker/apply_base.dockerfile index 14a38b8461..c577a64711 100644 --- a/docker/apply_base.dockerfile +++ b/docker/apply_base.dockerfile @@ -1,5 +1,10 @@ FROM ruby:3.4.1-alpine3.21 -LABEL org.opencontainers.image.authors="apply for legal aid team" + +LABEL org.opencontainers.image.vendor="Ministry of Justice" \ + org.opencontainers.image.authors="Apply for civil legal aid team (apply-for-civil-legal-aid@digital.justice.gov.uk)" \ + org.opencontainers.image.title="Apply for civil legal aid - base image" \ + org.opencontainers.image.description="Web service to apply for legal aid in civil matters" \ + org.opencontainers.image.url="https://github.com/ministryofjustice/laa-apply-for-legal-aid" # fail early and print all commands RUN set -ex diff --git a/docker/apply_ci.dockerfile b/docker/apply_ci.dockerfile index 4bc3867335..fd9d7d4b9a 100644 --- a/docker/apply_ci.dockerfile +++ b/docker/apply_ci.dockerfile @@ -1,6 +1,12 @@ FROM cimg/ruby:3.4.1-browsers LABEL org.opencontainers.image.authors="apply for legal aid team" +LABEL org.opencontainers.image.vendor="Ministry of Justice" \ + org.opencontainers.image.authors="Apply for civil legal aid team (apply-for-civil-legal-aid@digital.justice.gov.uk)" \ + org.opencontainers.image.title="Apply for civil legal aid - CI image" \ + org.opencontainers.image.description="Minimal apply for civl legal aid image used as test executor in CI pipeline" \ + org.opencontainers.image.url="https://github.com/ministryofjustice/laa-apply-for-legal-aid" + RUN wget https://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb -O /tmp/libffi6_3.2.1-8_amd64.deb RUN sudo apt-get update RUN sudo apt install --no-install-recommends /tmp/libffi6_3.2.1-8_amd64.deb