Skip to content
This repository has been archived by the owner on Dec 5, 2017. It is now read-only.

Commit

Permalink
initial support for mesos 0.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jdef committed Jan 14, 2015
1 parent cbf2504 commit 68cd4d7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
10 changes: 9 additions & 1 deletion hack/dockerbuild/build
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash

docker build -t kubernetes-mesos:build-base .
docker tag kubernetes-mesos:build-base jdef/kubernetes-mesos:build-base

for i in mesos-0.20.1-compat mesos-0.21.0-compat; do
versions=(
mesos-0.20.1-compat
mesos-0.21.0-compat
mesos-0.21.1-compat
)

for i in "${versions[@]}"; do
test -d $i && docker build -t kubernetes-mesos:build-$i $i && docker tag kubernetes-mesos:build-$i kubernetes-mesos:build-latest
docker tag kubernetes-mesos:build-$i jdef/kubernetes-mesos:build-$i
docker tag kubernetes-mesos:build-$i jdef/kubernetes-mesos:build-latest
Expand Down
10 changes: 10 additions & 0 deletions hack/dockerbuild/mesos-0.21.1-compat/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM jdef/kubernetes-mesos:build-base
MAINTAINER James DeFelice <[email protected]>

ENV DEB_VERSION_MESOS 0.21.1-1.1.debian77

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF && \
echo "deb http://repos.mesosphere.io/debian wheezy main" | \
tee /etc/apt/sources.list.d/mesosphere.list && \
apt-get -y update && \
apt-get -y install mesos=$DEB_VERSION_MESOS

0 comments on commit 68cd4d7

Please sign in to comment.