Skip to content

Commit 488b3d2

Browse files
committed
ref(controller): use ubuntu:14.04 as Dockerfile base image
1 parent 4d2cee6 commit 488b3d2

2 files changed

Lines changed: 23 additions & 18 deletions

File tree

controller/Dockerfile

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
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 system packages
517
# HACK: install git so we can install bacongobbler's fork of django-fsm
618
# install openssh-client for temporary fleetctl wrapper
719
RUN apt-get update && \
820
apt-get install -yq python-dev libpq-dev libyaml-dev git openssh-client
921

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

1325
# add a deis user that has passwordless sudo (for now)
1426
RUN useradd deis --groups sudo --home-dir /app --shell /bin/bash

controller/README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
# Deis Controller
22

3-
A RESTful API server for use in the [Deis](http://deis.io) open
4-
source PaaS.
3+
A RESTful API server 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/controller/)
75

8-
[**Trusted Build**](https://index.docker.io/u/deis/controller/)
6+
This Docker image is based on the official
7+
[ubuntu:14.04](https://registry.hub.docker.com/_/ubuntu/) image.
98

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).
9+
Please add any [issues](https://github.com/deis/deis/issues) you find with this software to
10+
the [Deis Project](https://github.com/deis/deis).
1611

1712
## Usage
1813

19-
* `make build` builds the *deis/controller* image inside a vagrant VM
20-
* `make run` installs and starts *deis/controller*, then displays log
21-
output from the container
22-
* `make test` runs unit tests for the controller and reports results
14+
Please consult the [Makefile](Makefile) for current instructions on how to build, test, push,
15+
install, and start **deis/logger**.
2316

2417
## Environment Variables
2518

0 commit comments

Comments
 (0)