Skip to content

Commit

Permalink
chore: use image full name instead of their short name
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Jan 13, 2025
1 parent 57c2407 commit 924d739
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/package/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 <[email protected]>"
Expand Down
6 changes: 3 additions & 3 deletions deployments/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -44,7 +44,7 @@ services:
protocol: tcp

emqx:
image: emqx/emqx
image: docker.io/emqx/emqx
ports:
- 1883:1883
- 18083:18083

0 comments on commit 924d739

Please sign in to comment.