From 42e1c854b0729aceec1d239f7c38c9a4600df78c Mon Sep 17 00:00:00 2001 From: Fanch Date: Thu, 11 Jan 2024 16:51:45 +0100 Subject: [PATCH 1/2] use full registry path for docker image --- Dockerfile | 6 +++--- ci/.env.ci | 2 +- ci/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b63cb72..4c81ae5 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 @@ -25,7 +25,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 @@ -56,7 +56,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 f22d679..d718bf1 100644 --- a/ci/.env.ci +++ b/ci/.env.ci @@ -3,5 +3,5 @@ SERVICE_URL=0.0.0.0 SERVICE_PORT=5003 # REDIS -REDIS_IMAGE=redis:7.0-alpine +REDIS_IMAGE=docker.io/redis:7.0-alpine REDIS_PASSWORD=redis diff --git a/ci/Dockerfile b/ci/Dockerfile index 96e12e4..f9164b8 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 From b38a260032d73496d11c2b9ddd2204b644939cc3 Mon Sep 17 00:00:00 2001 From: Fanch Date: Mon, 22 Jan 2024 16:57:44 +0100 Subject: [PATCH 2/2] use node lts image for docker --- Dockerfile | 6 +++--- ci/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c81ae5..8531239 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # BUILD FOR LOCAL DEVELOPMENT ################### -FROM docker.io/node:18-alpine3.16 As development +FROM docker.io/node:lts-hydrogen As development # Create app directory WORKDIR /usr/src/app @@ -25,7 +25,7 @@ USER node # BUILD FOR PRODUCTION ################### -FROM docker.io/node:18-alpine3.16 As build +FROM docker.io/node:lts-hydrogen As build WORKDIR /usr/src/app @@ -56,7 +56,7 @@ USER node # PRODUCTION ################### -FROM docker.io/node:18-alpine3.16 As production +FROM docker.io/node:lts-hydrogen As production # Copy package.json to be able to execute migration command COPY --chown=node:node package*.json ./ diff --git a/ci/Dockerfile b/ci/Dockerfile index f9164b8..98ca5c3 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -2,7 +2,7 @@ # BUILD FOR CI TESTING ################### -FROM docker.io/node:18-alpine3.16 +FROM docker.io/node:lts-hydrogen # Create app directory WORKDIR /usr/src/app