diff --git a/Dockerfile b/Dockerfile index 6d925355..719e0834 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:17-slim +FROM openjdk:17-slim@sha256:aaa3b3cb27e3e520b8f116863d0580c438ed55ecfa0bc126b41f68c3f62f9774 WORKDIR /workspace/app COPY . . diff --git a/docker-compose-springboot-postgres.yaml b/docker-compose-springboot-postgres.yaml index 7912b5e5..a6be8850 100644 --- a/docker-compose-springboot-postgres.yaml +++ b/docker-compose-springboot-postgres.yaml @@ -13,7 +13,7 @@ services: - pagopa-ecommerce-net postgres: - image: postgres:latest + image: postgres:latest@sha256:026d0ab72b34310b68160ab9299aa1add5544e4dc3243456b94f83cb1c119c2c ports: - "5432:5432" environment: @@ -25,7 +25,7 @@ services: postgres-liquibase: container_name: postgres-liquibase - image: liquibase/liquibase + image: liquibase/liquibase@sha256:b940077d0581d7d425e1eb27a5a0c8b1e92398bc592868539db1c8e30ce9c75b environment: - POSTGRES_USER=${POSTGRES_USER} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}