From 924d7395245682641d778582e7322a58dfd3b167 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Mon, 13 Jan 2025 08:19:28 +0000 Subject: [PATCH] chore: use image full name instead of their short name --- build/package/Dockerfile | 4 ++-- deployments/docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/package/Dockerfile b/build/package/Dockerfile index 0c96a02..c45afff 100644 --- a/build/package/Dockerfile +++ b/build/package/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:experimental # Start from the latest golang base image -FROM golang:alpine AS builder +FROM docker.io/library/golang:alpine AS builder # Set the Current Working Directory inside the container WORKDIR /app @@ -18,7 +18,7 @@ COPY . . WORKDIR /app/cmd/saf RUN go build -o /saf -FROM alpine:latest +FROM docker.io/library/alpine:latest # Add Maintainer Info LABEL maintainer="Parham Alvani " diff --git a/deployments/docker-compose.yml b/deployments/docker-compose.yml index e3fac3e..7eca521 100644 --- a/deployments/docker-compose.yml +++ b/deployments/docker-compose.yml @@ -24,14 +24,14 @@ services: command: p nats: - image: nats + image: docker.io/library/nats entrypoint: /nats-server command: --name n1 --cluster_name elahe --js --sd /data -p 4222 ports: - 4222:4222 jaeger: - image: jaegertracing/all-in-one:latest + image: docker.io/jaegertracing/all-in-one:latest ports: - target: 4317 published: 4317 @@ -44,7 +44,7 @@ services: protocol: tcp emqx: - image: emqx/emqx + image: docker.io/emqx/emqx ports: - 1883:1883 - 18083:18083