Skip to content

Commit 4d2cee6

Browse files
committed
ref(cache): use ubuntu:14.04 as Dockerfile base image
1 parent 93f26be commit 4d2cee6

2 files changed

Lines changed: 18 additions & 17 deletions

File tree

cache/Dockerfile

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
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
311

412
# build Redis from source
5-
RUN buildDeps='gcc libc6-dev make curl'; \
6-
export DEBIAN_FRONTEND=noninteractive; \
13+
RUN buildDeps='gcc libc6-dev make'; \
714
set -x; \
815
apt-get update && apt-get install -y $buildDeps net-tools --no-install-recommends \
916
&& rm -rf /var/lib/apt/lists/* \

cache/README.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
# Deis Cache
22

3-
A cache server for use in the [Deis](http://deis.io) open source PaaS.
3+
A Redis cache server for use in the [Deis](http://deis.io/) open source PaaS.
44

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

7-
[**Trusted Build**](https://index.docker.io/u/deis/cache/)
8-
9-
This Docker image is based on the trusted build
10-
[deis/base](https://index.docker.io/u/deis/base/), which itself is based
11-
on the official [ubuntu:12.04](https://index.docker.io/_/ubuntu/) image.
12-
13-
Please add any issues you find with this software to the
14-
[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).
1510

1611
## Usage
1712

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

2216
## Environment Variables
2317

0 commit comments

Comments
 (0)