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 Dec 2, 2024
1 parent d1ad7cf commit 8ea34ab
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:01ceb1e9b03be37e5ccc3fee01c54ca8b0a104eda4f2380c031aa5c34ba799f8
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:080b2ffacbd9fbfe12bce70b0a16ded2fc40b093ba26aac9b3a21343e32bdd98
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:080b2ffacbd9fbfe12bce70b0a16ded2fc40b093ba26aac9b3a21343e32bdd98
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:a51561b8b9d94918788cb89799d37a34c4bcdf4669f081014b3a2df6b4fc0a11
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 8ea34ab

Please sign in to comment.