Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use fully qualified docker image names (#3071)
Ashir Amin0a5f1a4beaa2
diff --git a/api/Dockerfile b/api/Dockerfileindex 28e5e1d08..8862ba57e 100644--- a/api/Dockerfile+++ b/api/Dockerfile@@ -7,7 +7,7 @@ ARG API_PY_VERSION# Audio waveform ###################-FROM realies/audiowaveform:latest AS awf+FROM docker.io/realies/audiowaveform:latest AS awf# Identify dependencies of the `audiowaveform` binary and move them to `/deps`,# while retaining their folder structure@@ -18,7 +18,7 @@ RUN ldd /usr/local/bin/audiowaveform | tr -s '[:blank:]' '\n' | grep '^/' | \# Python builder ###################-FROM python:${API_PY_VERSION} AS builder+FROM docker.io/python:${API_PY_VERSION} AS builder# Container optimizationsENV PYTHONUNBUFFERED=1@@ -47,7 +47,7 @@ RUN pipenv install --system --deploy --dev# API ########-FROM python:${API_PY_VERSION}-slim AS api+FROM docker.io/python:${API_PY_VERSION}-slim AS apiLABEL org.opencontainers.image.source="https://github.com/WordPress/openverse"@@ -121,7 +121,7 @@ CMD ["gunicorn"]# NGINX ##########-FROM nginx:1.25.2-alpine as nginx+FROM docker.io/nginx:1.25.2-alpine as nginxLABEL org.opencontainers.image.source = "https://github.com/WordPress/openverse"diff --git a/docker-compose.yml b/docker-compose.ymlindex 1c226b6cf..44354d165 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -30,7 +30,7 @@ services:profiles:- ingestion_server- api- image: postgres:13.10-alpine+ image: docker.io/postgres:13.10-alpineports:- "50254:5432"volumes:@@ -65,7 +65,7 @@ services:profiles:- catalog_dependencies- catalog- image: minio/minio:latest+ image: docker.io/minio/minio:latestports:- "5010:5000"- "5011:5001"@@ -88,7 +88,7 @@ services:profiles:- catalog_dependencies- catalog- image: minio/mc:latest+ image: docker.io/minio/mc:latestenv_file:- .env- docker/minio/.env@@ -145,7 +145,7 @@ services:plausible_db:profiles:- frontend- image: postgres:13.10-alpine+ image: docker.io/postgres:13.10-alpineexpose:- "5432"volumes:@@ -158,7 +158,7 @@ services:plausible_ch:profiles:- frontend- image: clickhouse/clickhouse-server:23.4-alpine+ image: docker.io/clickhouse/clickhouse-server:23.4-alpinevolumes:- plausible-clickhouse:/var/lib/clickhouse- ./docker/clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro@@ -184,7 +184,7 @@ services:cache:profiles:- api- image: redis:4.0.14+ image: docker.io/redis:4.0.14ports:- "50263:6379"@@ -306,7 +306,7 @@ services:proxy:profiles:- api- image: nginx:alpine+ image: docker.io/nginx:alpineports:- "50200:9080"- "50243:9443"diff --git a/frontend/Dockerfile b/frontend/Dockerfileindex fa7f9e6a4..692af0350 100644--- a/frontend/Dockerfile+++ b/frontend/Dockerfile@@ -7,7 +7,7 @@ ARG FRONTEND_NODE_VERSION# Node.js builder ####################-FROM node:${FRONTEND_NODE_VERSION}-alpine as builder+FROM docker.io/node:${FRONTEND_NODE_VERSION}-alpine as builder# Automatically use the right version of pnpm.ARG FRONTEND_PNPM_VERSION@@ -58,7 +58,7 @@ RUN pnpm build:only# Nuxt app #############-FROM node:${FRONTEND_NODE_VERSION}-alpine as app+FROM docker.io/node:${FRONTEND_NODE_VERSION}-alpine as appLABEL org.opencontainers.image.source="https://github.com/WordPress/openverse"diff --git a/ingestion_server/Dockerfile b/ingestion_server/Dockerfileindex f3b670639..132d8066e 100644--- a/ingestion_server/Dockerfile+++ b/ingestion_server/Dockerfile@@ -7,7 +7,7 @@ ARG INGESTION_PY_VERSION# Python builder ###################-FROM python:${INGESTION_PY_VERSION} as builder+FROM docker.io/python:${INGESTION_PY_VERSION} as builder# Container optimizationsENV PYTHONUNBUFFERED=1@@ -36,7 +36,7 @@ RUN pipenv install --system --deploy --dev# Ingestion server #####################-FROM python:${INGESTION_PY_VERSION}-slim as ing+FROM docker.io/python:${INGESTION_PY_VERSION}-slim as ingLABEL org.opencontainers.image.source="https://github.com/WordPress/openverse"diff --git a/utilities/load_testing/Dockerfile b/utilities/load_testing/Dockerfileindex 5e88c6554..fd95bd1a9 100644--- a/utilities/load_testing/Dockerfile+++ b/utilities/load_testing/Dockerfile@@ -1,6 +1,6 @@# syntax=docker/dockerfile:1-FROM python:3.11-slim+FROM docker.io/python:3.11-slim# See https://github.com/grafana/k6#linuxRUN apt-get update && \