Skip to content

Commit

Permalink
Pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-pagopa[bot] authored Oct 1, 2024
1 parent d1ad7cf commit 5ab8230
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG APP_FOLDER=/home/build
ARG MVN_REPO_FOLDER=/home/.m2

FROM maven:3.8.7-amazoncorretto-8 AS build
FROM maven:3.8.7-amazoncorretto-8@sha256:ec86ad98267c73eae1b7fb1bd0142723e4c9f05cc52f3466a548ce6f6f471e26 AS build
ARG APP_FOLDER
ARG MVN_REPO_FOLDER
COPY . ${APP_FOLDER}
RUN mkdir ${MVN_REPO_FOLDER}
WORKDIR ${MVN_REPO_FOLDER}
RUN --mount=type=cache,target=/root/.m2 mvn -f ${APP_FOLDER}/pom.xml -s ${APP_FOLDER}/settings.xml clean package

FROM openjdk:8-jdk-alpine
FROM openjdk:8-jdk-alpine@sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f2283343547b3
ARG APP_FOLDER
RUN addgroup -S spring && adduser -S spring -G spring
USER spring:spring
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: bs-banking-services
services:

zookeeper:
image: confluentinc/cp-zookeeper:latest
image: confluentinc/cp-zookeeper:latest@sha256:86bfe47cc8b55e290bbe21c156e99ac3859df7a1dea66379e43a137d32e80ea3
hostname: zookeeper
container_name: zookeeper
healthcheck:
Expand All @@ -18,7 +18,7 @@ services:
- "2181:2181"

kafka:
image: confluentinc/cp-kafka:latest
image: confluentinc/cp-kafka:latest@sha256:653f49c51cfebcf8301938d01044efead6afbd8dd60acd2bcf1605d7c6494d3b
container_name: kafka
hostname: kafka
healthcheck:
Expand All @@ -41,7 +41,7 @@ services:
condition: service_healthy

kafka-init:
image: confluentinc/cp-kafka:latest
image: confluentinc/cp-kafka:latest@sha256:653f49c51cfebcf8301938d01044efead6afbd8dd60acd2bcf1605d7c6494d3b
container_name: kafka-init
entrypoint: [ '/bin/sh', '-c' ]
command: |
Expand All @@ -63,7 +63,7 @@ services:
init: true

hazelcast:
image: hazelcast/hazelcast:4.2.6
image: hazelcast/hazelcast:4.2.6@sha256:df067a11e4a9892379cc064ac5ad110cad4cffc8b7f367fb6ebca6a5d0909ddf
container_name: hazelcast
restart: unless-stopped
environment:
Expand All @@ -73,14 +73,14 @@ services:
- 5702:5702

aws-mock:
image: motoserver/moto:latest
image: motoserver/moto:latest@sha256:bf2de12b233307ef16718e4467df4c0d4cf817d43038b343f92e0f17a9e6b66e
container_name: aws-mock
restart: unless-stopped
ports:
- 5000:5000

oracle:
image: gvenzl/oracle-xe:21-slim-faststart
image: gvenzl/oracle-xe:21-slim-faststart@sha256:f82bccdf6020d27373fdf0e93046b63eb3f777a0289e329d9839feebaf4555de
container_name: oracle
restart: unless-stopped
environment:
Expand Down

0 comments on commit 5ab8230

Please sign in to comment.