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

Update registry binary to v2.5.0.

Use Alpine Linux as base image.

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
Richard Scothern 2016-06-14 11:45:02 -07:00
parent 3e4bd3a928
commit 3688baf676
2 changed files with 3 additions and 4 deletions

@ -1,10 +1,9 @@
# Build a minimal distribution container
FROM debian:jessie
FROM alpine:3.4
RUN apt-get update && \
apt-get install -y ca-certificates librados2 apache2-utils && \
rm -rf /var/lib/apt/lists/*
RUN set -ex \
&& apk add --no-cache ca-certificates apache2-utils
COPY ./registry/registry /bin/registry
COPY ./registry/config-example.yml /etc/docker/registry/config.yml

Binary file not shown.