Skip to content

Commit

Permalink
fix: [#34] added multiple copy of the config file (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
jherrerasbp authored Dec 27, 2024
1 parent fae485f commit c6d3dd5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ RUN apk update && \
apk upgrade
# A custom config file is needed to disable default cache
# By default the cache is "blobdescriptor: inmemory"
# The config-example.yml file of this repo disables it
# The config-example.yml file of this repo can be found at:
# https://github.com/distribution/distribution-library-image
# File is copied to two different locations to keep
# compatibility with registry:2.x and registry:3.x
COPY ./config-example.yml /etc/docker/registry/config.yml
COPY ./config-example.yml /etc/distribution/config.yml
COPY ./backup-registry /var/lib/registry

0 comments on commit c6d3dd5

Please sign in to comment.