This repository has been archived by the owner on Jan 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters