From 548948bc995902001f9885de1d4ab05d29816c81 Mon Sep 17 00:00:00 2001 From: Avinash Date: Fri, 9 Jun 2023 00:14:34 +0530 Subject: [PATCH] feat: use fqin in from Signed-off-by: Avinash --- alpine/Dockerfile | 6 +++--- debian/Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 408429bb..59f9aec8 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:20.3.0-alpine@sha256:30d5045fa5026abaed7439b62d51f73ac3efd1009496271d4c85fd83bb20144e AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:20.3.0-alpine@sha256:30d5045fa5026abaed7439b62d51f73ac3efd1009496271d4c85fd83bb20144e AS builder # Build arguments to change source url, branch or tag ARG CODIMD_REPOSITORY @@ -27,7 +27,7 @@ WORKDIR /hedgedoc RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn install --immutable RUN yarn run build -FROM node:20.3.0-alpine@sha256:30d5045fa5026abaed7439b62d51f73ac3efd1009496271d4c85fd83bb20144e AS modules-installer +FROM docker.io/library/node:20.3.0-alpine@sha256:30d5045fa5026abaed7439b62d51f73ac3efd1009496271d4c85fd83bb20144e AS modules-installer WORKDIR /hedgedoc ENV NODE_ENV=production @@ -41,7 +41,7 @@ RUN --mount=target=/var/cache/apk,type=cache,sharing=locked \ RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn workspaces focus --production -FROM node:20.3.0-alpine@sha256:30d5045fa5026abaed7439b62d51f73ac3efd1009496271d4c85fd83bb20144e AS app +FROM docker.io/library/node:20.3.0-alpine@sha256:30d5045fa5026abaed7439b62d51f73ac3efd1009496271d4c85fd83bb20144e AS app WORKDIR /hedgedoc ENV NODE_ENV=production diff --git a/debian/Dockerfile b/debian/Dockerfile index 17a3ffc5..36619f50 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:20.3.0-bullseye-slim@sha256:873d0db3312a942fd77d99117d2dbfc7e38c8cf51ab3a2157aa98ec5e9197ad8 AS builder +FROM --platform=$BUILDPLATFORM docker.io/library/node:20.3.0-bullseye-slim@sha256:873d0db3312a942fd77d99117d2dbfc7e38c8cf51ab3a2157aa98ec5e9197ad8 AS builder # Build arguments to change source url, branch or tag ARG CODIMD_REPOSITORY @@ -29,7 +29,7 @@ WORKDIR /hedgedoc RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn install --immutable RUN yarn run build -FROM node:20.3.0-bullseye-slim@sha256:873d0db3312a942fd77d99117d2dbfc7e38c8cf51ab3a2157aa98ec5e9197ad8 AS modules-installer +FROM docker.io/library/node:20.3.0-bullseye-slim@sha256:873d0db3312a942fd77d99117d2dbfc7e38c8cf51ab3a2157aa98ec5e9197ad8 AS modules-installer WORKDIR /hedgedoc ENV NODE_ENV=production @@ -44,7 +44,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \ RUN --mount=type=cache,sharing=locked,target=/tmp/.yarn yarn workspaces focus --production -FROM node:20.3.0-bullseye-slim@sha256:873d0db3312a942fd77d99117d2dbfc7e38c8cf51ab3a2157aa98ec5e9197ad8 AS app +FROM docker.io/library/node:20.3.0-bullseye-slim@sha256:873d0db3312a942fd77d99117d2dbfc7e38c8cf51ab3a2157aa98ec5e9197ad8 AS app WORKDIR /hedgedoc ARG UID=10000