1
0
mirror of https://github.com/distribution/distribution-library-image synced 2024-11-07 05:05:50 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Richard Scothern
578da7e03c Add a startup script (docker-entrypoint.sh) and use it as the entrypoint for the
official image container.

This conforms to the official image rules to run the container with a shell
without using the --entrypoint flags.

Supports:

[o] docker run registry sh                        # /bin/sh
[o] docker run -v /a:/b registry /b/config.yml    # /bin/registry serve /b/config.yml
[o] docker run registry                           # /bin/registry serve /etc/docker/config.yml
[o] docker run -ti registry -h                    # /bin/registry -h
[o] docker run <command> [args]                   # /bin/registry <command> [args]

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-06-14 11:09:06 -07:00
Richard Scothern
c74e503ff3 Merge pull request #15 from docker/v2.4.1
Update registry binary to v2.4.1
2016-05-18 10:45:52 -07:00
Richard Scothern
5cbbc8d1e6 Update registry binary to v2.4.1.
Also revert 740a307b which will be superceded by an init script in v2.5

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-05-18 10:07:51 -07:00
Olivier Gambier
2223e5fb29 Merge pull request #13 from docker/fix-users
Add serve into the entrypoint to retain backward compatibility so the…
2016-04-14 11:08:44 -07:00
Richard Scothern
740a307bda Add serve into the entrypoint to retain backward compatibility so the registry
can be run as so:
docker run --rm --volume /etc/docker-registry.conf:/etc/docker-registry.conf \
registry:2 /etc/docker-registry.conf

See:
https://github.com/docker/distribution/issues/1631

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-04-14 10:56:03 -07:00
Olivier Gambier
467e93ea92 Merge pull request #12 from docker/v2.4.0
Update registry binary to version v2.4.0
2016-04-13 11:08:34 -07:00
Richard Scothern
3b41b10642 Update registry binary to version v2.4.0
Add 'serve' to Dockerfile cmd.

Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-04-13 11:04:58 -07:00
Richard Scothern
b518c35ff6 Merge pull request #11 from docker/v2.3.1
Update registry binary to version v2.3.1
2016-03-08 11:33:40 -08:00
Richard Scothern
d7b2c405ae Update registry binary to version v2.3.1 2016-03-08 11:32:31 -08:00
Richard Scothern
93b4a90b49 Merge pull request #10 from docker/v2.3.0
Update registry binary to version 2.3.0
2016-02-04 12:06:00 -08:00
Richard Scothern
adffb8e878 Update registry binary to version 2.3.0 2016-02-04 11:48:25 -08:00
Olivier Gambier
b1f1951899 Merge pull request #9 from aaronlehmann/debian-jessie
Switch registry library image to debian:jessie
2016-01-28 15:50:09 -08:00
Aaron Lehmann
92bf99bd6d Switch registry library image to debian:jessie
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-01-28 14:53:53 -08:00
Richard Scothern
3aadce6abd Merge pull request #6 from docker/v2.2.1-go1.5
Update registry binary to version 2.2.1, go version 1.5
2015-12-09 13:45:10 -08:00
Richard Scothern
bd3fb9d19c Update registry binary to version 2.2.1, go version 1.5
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-12-09 13:37:24 -08:00
Richard Scothern
af287a2a63 Merge pull request #5 from docker/v2.2.0
Update registry binary to version 2.2.0.
2015-11-03 12:35:34 -08:00
Richard Scothern
3b5759583b Update registry binary to version 2.2.0. Update config 2015-11-03 12:02:03 -08:00
Aaron Lehmann
d5f65e019f Merge pull request #4 from docker/registry-go-1.4.3
Rebuild registry v2.1.1 to use go 1.4.3
2015-10-05 14:16:36 -07:00
Richard Scothern
6444243043 Rebuild registry v2.1.1 to use go 1.4.3 2015-10-05 14:02:43 -07:00
Olivier Gambier
0258654c74 Merge pull request #3 from RichardScothern/2.1
Update registry binary to version 2.1.1 of registry
2015-08-12 16:36:57 -07:00
Richard Scothern
7b7a1e56e6 Update registry binary to version 2.1.1 of registry 2015-08-12 16:30:13 -07:00
Richard Scothern
d5ee820f89 Merge pull request #2 from docker/update-to-v2.1.0
Update registry binary to version 2.1.0 of registry binary
2015-08-11 17:03:08 -07:00
Aaron Lehmann
c70df51a11 Update registry binary to version 2.1.0 of registry binary
This was done by running

    ./update.sh v2.1.0

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-08-11 17:01:19 -07:00
Richard Scothern
0115921d66 Merge pull request #1 from docker/create-container
Add library image for registry
2015-08-04 17:25:49 -07:00
Aaron Lehmann
c017c8583d Add library image for registry
This is based on swarm-library-image.

Unfortunately, the registry binary needs to be checked in - otherwise
"docker build" wouldn't work without preparation, as is required of
official images. The binary checked in here is from distribution's
current master branch (4cc4d440f6afc7b27c2220993d01a4e2889d87c0). It
will need to be updated to the release version after each release.

Rather than creating a container from scratch, this library image is
based on the ubuntu container, because registry is a dynamically linked
binary.

Because we're using the ubuntu container as a base, manual installation
of ca-certificates.crt isn't necessary. If we end up switching to a
scratch container, this will need to be re-added.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-30 17:50:03 -07:00
Aaron Lehmann
d6ee50a2de Initial commit
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-28 16:23:14 -07:00