diff --git a/Dockerfile b/Dockerfile index 12ed024..cf7d897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.13.0 as builder +FROM node:18.13.0@sha256:d871edd5b68105ebcbfcde3fe8c79d24cbdbb30430d9bd6251c57c56c7bd7646 as builder WORKDIR /usr/src/app @@ -7,7 +7,7 @@ COPY / /usr/src/app/ RUN yarn install \ && yarn build -FROM node:18.13.0-alpine +FROM node:18.13.0-alpine@sha256:fda98168118e5a8f4269efca4101ee51dd5c75c0fe56d8eb6fad80455c2f5827 # Install major CA certificates to cover # https://github.com/SparebankenVest/azure-key-vault-to-kubernetes integration diff --git a/__integrations__/docker-compose.yml b/__integrations__/docker-compose.yml index 3c4c232..c1d687c 100644 --- a/__integrations__/docker-compose.yml +++ b/__integrations__/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: mongo1: - image: mongo:7.0 + image: mongo:7.0@sha256:0032d2ca20db5fa34926f196c8a43b74e34ed239a7f2453ff1505b6f12ba8ea6 command: [ "--replSet", @@ -26,7 +26,7 @@ services: - "mongo1_config:/data/configdb" zookeeper: - image: confluentinc/cp-zookeeper:latest + image: confluentinc/cp-zookeeper:latest@sha256:86bfe47cc8b55e290bbe21c156e99ac3859df7a1dea66379e43a137d32e80ea3 container_name: zookeeper environment: ZOOKEEPER_CLIENT_PORT: 2181 @@ -35,7 +35,7 @@ services: - "2181:2181" kafka: - image: confluentinc/cp-kafka:latest + image: confluentinc/cp-kafka:latest@sha256:653f49c51cfebcf8301938d01044efead6afbd8dd60acd2bcf1605d7c6494d3b container_name: kafka hostname: kafka ports: