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

17 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
fb2627cb5a
Dockerfile: update to alpine 3.19
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-01-11 10:33:45 +01:00
Milos Gajdos
70a9988646
feat: create a DOI for the new release
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-12-19 16:27:36 +00:00
Milos Gajdos
6ab34a7635
Release new DOI for registry 2023-10-02 19:36:51 +01:00
Milos Gajdos
aa54086daa
Update library image for v2.8.2 release
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2023-05-11 12:19:49 +01:00
Tianon Gravi
5e0c6649db Update to Alpine 3.18, copy Dockerfile for 2.8.2-beta.2 pre-release 2023-05-09 16:44:23 -07:00
Sebastiaan van Stijn
c03b7d558b
Fix CVE-2022-28391 by bumping alpine from 3.15 to 3.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-26 13:19:39 +02:00
Milos Gajdos
34d96c058b
Update dockerfile for v2.8.1 release
Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2022-03-08 19:01:18 +00:00
CrazyMax
a63e05fa39
Update registry to 2.8.0
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-07 16:58:37 +01:00
CrazyMax
6d988746b2
Use a single Dockerfile
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-01-21 19:26:28 +01:00
Derek McGowan
eb58390c83 Support arm and arm64 binaries for v2.6.2
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-11-29 15:35:41 -08:00
Richard Scothern
3688baf676 Update registry binary to v2.5.0.
Use Alpine Linux as base image.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2016-06-14 11:59:50 -07:00
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
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
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
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
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
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