forked from reachlin/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (19 loc) · 884 Bytes
/
Dockerfile
File metadata and controls
24 lines (19 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:14.04
MAINTAINER reachlin@gmail.com
RUN apt-get update
RUN apt-get install -y curl
ENV DOCKER_BUCKET get.docker.com
ENV DOCKER_VERSION 1.11.1
ENV DOCKER_SHA256 893e3c6e89c0cd2c5f1e51ea41bc2dd97f5e791fcfa3cee28445df277836339d
RUN set -x \
&& curl -fSL "https://${DOCKER_BUCKET}/builds/Linux/x86_64/docker-$DOCKER_VERSION.tgz" -o docker.tgz \
&& echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \
&& tar -xzvf docker.tgz \
&& mv docker/* /usr/local/bin/ \
&& rmdir docker \
&& rm docker.tgz \
&& docker -v
# COPY latest cf.deb /
ADD https://cli.run.pivotal.io/stable?release=debian64&source=github-rel /cf.deb
RUN dpkg -i /cf.deb && cf install-plugin -f https://static-ice.ng.bluemix.net/ibm-containers-linux_x64 && cf add-plugin-repo bluemix http://plugins.ng.bluemix.net && cf install-plugin active-deploy -r bluemix -f
ENTRYPOINT tail -f /dev/null