initial commit
This commit is contained in:
7
deploy/registry/Dockerfile
Normal file
7
deploy/registry/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
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
|
||||
EXPOSE 443
|
Reference in New Issue
Block a user