This repository has been archived by the owner on Apr 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from radekg/fedora-23
Fedora 23 support. Closes #5
- Loading branch information
Showing
5 changed files
with
71 additions
and
6 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM fedora:23 | ||
|
||
RUN dnf install -y which tar wget \ | ||
&& mkdir -p /tmp/maven && cd /tmp/maven \ | ||
&& wget http://mirror.olnevhost.net/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz \ | ||
&& tar xvf apache-maven-3.3.9-bin.tar.gz \ | ||
&& mv apache-maven-3.3.9 /usr/local/apache-maven \ | ||
&& cd / && source /etc/bashrc && rm -rf /tmp/maven \ | ||
&& ln -sf /usr/local/apache-maven/bin/mvn /usr/bin/mvn \ | ||
&& dnf groupinstall "Development Tools" "Development Libraries" -y \ | ||
&& dnf update nss -y \ | ||
&& dnf install -y python-boto libtool redhat-rpm-config gcc-c++ \ | ||
java-1.8.0-openjdk-devel cyrus-sasl-md5 \ | ||
apr-devel subversion-devel ruby-devel \ | ||
rpm-build \ | ||
&& gem install fpm --no-ri --no-rdoc | ||
|
||
ENV M2_HOME /usr/local/apache-maven | ||
ENV M2 /usr/local/apache-maven/bin | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk |
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
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
13 changes: 13 additions & 0 deletions
13
patches/mesos-packaging/b929d6b84bcc080b490a7ee79c0115e82984a648-0.27.2-fedora-23.patch
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/build_mesos b/build_mesos | ||
index 81561bc..526d86e 100755 | ||
--- a/build_mesos | ||
+++ b/build_mesos | ||
@@ -239,7 +239,7 @@ function create_lib_symlinks {( | ||
msg "expects libmesos.so to exist in /usr/local/lib)." | ||
mkdir -p usr/local/lib | ||
# ensure symlinks are relative so they work as expected in the final env | ||
- ( cd usr/local/lib && cp -s ../../lib/lib*.so . ) | ||
+ ( cd usr/local/lib && cp ../../lib64/lib*.so ../../lib/ && cp -s ../../lib/lib*.so . ) | ||
fi | ||
)} | ||
|