Logo
Explore Help
Register Sign In
djpbessems/Tinkerbell.Sandbox
1
0
Fork 0
You've already forked Tinkerbell.Sandbox
Code Issues Pull Requests Projects Releases Wiki Activity
Tinkerbell.Sandbox/deploy/registry/Dockerfile

9 lines
276 B
Docker
Raw Normal View History

initial commit
2020-08-20 13:53:27 +02:00
FROM registry:2.7.1
RUN apk add --no-cache --update curl apache2-utils
ARG REGISTRY_USERNAME
ARG REGISTRY_PASSWORD
RUN mkdir -p /certs /auth
RUN htpasswd -Bbn ${REGISTRY_USERNAME} ${REGISTRY_PASSWORD} > /auth/htpasswd
Reconfigure the registry to proxy quay.io/tinkerbell-actions We need a way to simplify pull from `quay.io/tinkerbell-actions`, the location for the reusable actions we release. https://artifacthub.io/packages/search?kind=4 All the images are proxies via an internal registry. This commit configures it to look at the images hosted in `quay.io/tinkerbell-actions` when there is not one in the internal registry and it proxies. For example: $ docker pull 192.168.1.1/tinkerbell-actions/rootio:v1.0.0 v1.0.0: Pulling from tinkerbell-actions/rootio b5b0f03f0cb8: Pull complete 48742f086697: Pull complete 06d27b65800a: Pull complete 3281556401c6: Pull complete b94e835dc9fd: Pull complete Digest: sha256:ec9855556388a690cad2535cf813f69cffa6df24476aedb16b3cdfc0d809492c Status: Downloaded newer image for 192.168.1.1/tinkerbell-actions/rootio:v1.0.0 192.168.1.1/tinkerbell-actions/rootio:v1.0.0 Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2021-03-29 12:11:33 +02:00
ADD config.yml /etc/docker/registry/config.yml
initial commit
2020-08-20 13:53:27 +02:00
EXPOSE 443
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 427ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API R€Stitch