Browse Source

.

tags/v0.0.1
Giles Bradshaw 1 year ago
parent
commit
ed229d5094
4 changed files with 5 additions and 2 deletions
  1. +1
    -0
      pass
  2. +2
    -1
      registry/Dockerfile
  3. +0
    -1
      registry/htpasswd
  4. +2
    -0
      registry/run.sh

+ 1
- 0
pass View File

@@ -0,0 +1 @@
the hedges are out

+ 2
- 1
registry/Dockerfile View File

@@ -1,3 +1,4 @@
FROM registry:2
COPY config.yml /etc/docker/registry/config.yml
COPY htpasswd /htpasswd
COPY run.sh /
CMD ["sh", "/run.sh"]

+ 0
- 1
registry/htpasswd View File

@@ -1 +0,0 @@
client:$2y$10$DnBQxo2svD5G2UeKYxJrje5BtWhcYsyWmkgqddZetg0POglW3UzkC

+ 2
- 0
registry/run.sh View File

@@ -0,0 +1,2 @@
htpasswd -bc -B /htpasswd client "${REGISTRY_PASSWORD}"
serve /etc/docker/registry/config.yml

Loading…
Cancel
Save