Skip to content

Commit 49cf60a

Browse files
committed
ref(registry): use ubuntu:14.04 as Dockerfile base image
1 parent ab70163 commit 49cf60a

2 files changed

Lines changed: 24 additions & 19 deletions

File tree

registry/Dockerfile

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
1-
FROM deis/base:latest
2-
MAINTAINER OpDemand <info@opdemand.com>
1+
FROM ubuntu:14.04
2+
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
# install common packages
6+
RUN apt-get update && apt-get install -y curl
7+
8+
# install etcdctl
9+
RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/opdemand/etcdctl-v0.4.6 \
10+
&& chmod +x /usr/local/bin/etcdctl
11+
12+
# install confd
13+
RUN curl -sSL -o /usr/local/bin/confd https://s3-us-west-2.amazonaws.com/opdemand/confd-v0.5.0-json \
14+
&& chmod +x /usr/local/bin/confd
315

416
# install required packages (copied from dotcloud/docker-registry Dockerfile)
517
RUN sed -i 's/main$/main universe/' /etc/apt/sources.list
618
RUN apt-get update && apt-get install -y git-core build-essential python-dev \
7-
libevent-dev python-openssl liblzma-dev wget
19+
libevent-dev python-openssl liblzma-dev
820

9-
# install recent pip
10-
RUN wget -qO- https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.py | python -
21+
# install pip
22+
RUN curl -sSL https://raw.githubusercontent.com/pypa/pip/1.5.5/contrib/get-pip.py | python -
1123

1224
# create a registry user
1325
RUN useradd -s /bin/bash registry

registry/README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
# Deis Registry
22

3-
A Docker image registry for use in the [Deis](http://deis.io) open
4-
source PaaS.
3+
A Docker image registry for use in the [Deis](http://deis.io) open source PaaS.
54

6-
[![image](https://d207aa93qlcgug.cloudfront.net/img/icons/framed-icon-checked-repository.svg)](https://index.docker.io/u/deis/registry/)
5+
This Docker image is based on the official
6+
[ubuntu:14.04](https://registry.hub.docker.com/_/ubuntu/) image.
77

8-
[**Trusted Build**](https://index.docker.io/u/deis/registry/)
9-
10-
This Docker image is based on the trusted build
11-
[deis/base](https://index.docker.io/u/deis/base/), which itself is based
12-
on the official [ubuntu:12.04](https://index.docker.io/_/ubuntu/) image.
13-
14-
Please add any issues you find with this software to the
15-
[Deis project](https://github.com/deis/deis/issues).
8+
Please add any [issues](https://github.com/deis/deis/issues) you find with this software to
9+
the [Deis Project](https://github.com/deis/deis).
1610

1711
## Usage
1812

19-
* `make build` builds the *deis/registry* image inside a vagrant VM
20-
* `make run` installs and starts *deis/registry*, then displays log
21-
output from the container
13+
Please consult the [Makefile](Makefile) for current instructions on how to build, test, push,
14+
install, and start **deis/registry**.
2215

2316
## Environment Variables
2417

0 commit comments

Comments
 (0)