From b13df86745f6aa16180b8a3fb4ddb3f089d346da Mon Sep 17 00:00:00 2001 From: Fanch Date: Fri, 12 Jan 2024 09:36:51 +0100 Subject: [PATCH] use full registry path for docker image --- Dockerfile | 6 +++--- ci/.env.ci | 5 ++--- ci/Dockerfile | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59c44e3..64102ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # BUILD FOR LOCAL DEVELOPMENT ################### -FROM node:18-alpine3.16 As development +FROM docker.io/node:18-alpine3.16 As development # Create app directory WORKDIR /usr/src/app @@ -29,7 +29,7 @@ USER node # BUILD FOR PRODUCTION ################### -FROM node:18-alpine3.16 As build +FROM docker.io/node:18-alpine3.16 As build WORKDIR /usr/src/app @@ -63,7 +63,7 @@ USER node # PRODUCTION ################### -FROM node:18-alpine3.16 As production +FROM docker.io/node:18-alpine3.16 As production # Copy package.json to be able to execute migration command COPY --chown=node:node package*.json ./ diff --git a/ci/.env.ci b/ci/.env.ci index 98371ee..677d3f6 100644 --- a/ci/.env.ci +++ b/ci/.env.ci @@ -9,8 +9,7 @@ DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public" RMQ_URI=amqp://v3-ad-broker:5672 # MESSAGE BROKER -BROKER_IMAGE=rabbitmq:3-alpine +BROKER_IMAGE=docker.io/rabbitmq:3-alpine # POSTGRES -POSTGRES_IMAGE=postgres:15.0 - +POSTGRES_IMAGE=docker.io/postgres:15.0 diff --git a/ci/Dockerfile b/ci/Dockerfile index 26b388a..b517a3f 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -2,7 +2,7 @@ # BUILD FOR CI TESTING ################### -FROM node:18-alpine3.16 +FROM docker.io/node:18-alpine3.16 # Create app directory WORKDIR /usr/src/app