Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Update to 1.2.0-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tbird committed Feb 10, 2017
1 parent 1bd4f42 commit 9b94dce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ MAINTAINER Marc Villacorta Morera <[email protected]>
# Build mesos:
#------------------------------------------------------------------------------

ENV VERSION="9999"
ENV VERSION="1.2.0-rc1"

COPY rootfs /

RUN emerge-webrsync -q \
&& cd /usr/local/portage/sys-cluster/mesos \
&& mv mesos.ebuild mesos-${VERSION}.ebuild \
&& ebuild mesos-${VERSION}.ebuild digest
&& mv mesos.ebuild mesos-${VERSION/-/_}.ebuild \
&& ebuild mesos-${VERSION/-/_}.ebuild digest

RUN emerge -q --onlydeps sys-cluster/mesos
RUN emerge -q sys-cluster/mesos
Expand All @@ -33,7 +33,7 @@ RUN find /opt -name *.sh -delete -o -name *.la -delete \
# Pre-squash cleanup:
#------------------------------------------------------------------------------

RUN wget https://busybox.net/downloads/binaries/busybox-x86_64 -qO /busybox \
RUN wget https://busybox.net/downloads/binaries/1.26.2-defconfig-multiarch/busybox-x86_64 -qO /busybox \
&& chmod +x /busybox && busybox rm -rf var/ usr/ tmp/ sbin/ root/ mnt/ \
lib* media/ home/ boot/ run/ /etc bin/* &> /dev/null; \
/busybox ln -s /busybox /bin/sh \
Expand Down
2 changes: 1 addition & 1 deletion rootfs/usr/local/portage/sys-cluster/mesos/mesos.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inherit git-r3
DESCRIPTION="Apache Mesos abstracts CPU, memory, storage, and other compute resources away from machines."
HOMEPAGE="http://mesos.apache.org/"
EGIT_REPO_URI="https://github.com/apache/mesos.git"
[ "${PV}" -eq "9999" ] && EGIT_BRANCH="master" || EGIT_COMMIT="${PV}"
EGIT_COMMIT="${PV/_/-}"
RESTRICT="mirror"
LICENSE="Apache-2.0"
KEYWORDS="amd64"
Expand Down

0 comments on commit 9b94dce

Please sign in to comment.