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..b78d80a 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:bd38dc3d2895c7434b9b75c86525642efe3d65e4c6aadfe397486d7cc89406f0 command: [ "--replSet", @@ -26,7 +26,7 @@ services: - "mongo1_config:/data/configdb" zookeeper: - image: confluentinc/cp-zookeeper:latest + image: confluentinc/cp-zookeeper:latest@sha256:4dc780642bfc5ec3a2d4901e2ff1f9ddef7f7c5c0b793e1e2911cbfb4e3a3214 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:620734d9fc0bb1f9886932e5baf33806074469f40e3fe246a3fdbb59309535fa container_name: kafka hostname: kafka ports: