You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jp...@apache.org on 2018/03/19 17:55:53 UTC
mesos git commit: Add dockerfile for ARM.
Repository: mesos
Updated Branches:
refs/heads/master 95bbe784d -> a0053257e
Add dockerfile for ARM.
Review: https://reviews.apache.org/r/66138/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a0053257
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a0053257
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a0053257
Branch: refs/heads/master
Commit: a0053257e9039b86f3d8c5dc1cb857ffe0b68cd2
Parents: 95bbe78
Author: Tomasz Janiszewski <ja...@gmail.com>
Authored: Mon Mar 19 10:55:05 2018 -0700
Committer: James Peach <jp...@apache.org>
Committed: Mon Mar 19 10:55:05 2018 -0700
----------------------------------------------------------------------
support/mesos-build/ubuntu-16.04-arm.dockerfile | 59 ++++++++++++++++++++
1 file changed, 59 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/a0053257/support/mesos-build/ubuntu-16.04-arm.dockerfile
----------------------------------------------------------------------
diff --git a/support/mesos-build/ubuntu-16.04-arm.dockerfile b/support/mesos-build/ubuntu-16.04-arm.dockerfile
new file mode 100644
index 0000000..6d76090
--- /dev/null
+++ b/support/mesos-build/ubuntu-16.04-arm.dockerfile
@@ -0,0 +1,59 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+FROM arm64v8/ubuntu:16.04
+
+# Install dependencies.
+RUN apt-get update && \
+ apt-get install -qy \
+ autoconf \
+ build-essential \
+ clang \
+ curl \
+ git \
+ iputils-ping \
+ libapr1-dev \
+ libcurl4-nss-dev \
+ libev-dev \
+ libevent-dev \
+ libsasl2-dev \
+ libssl-dev \
+ libsvn-dev \
+ libtool \
+ maven \
+ openjdk-8-jdk \
+ python-dev \
+ python-six \
+ sed \
+ zlib1g-dev && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists
+
+# Install newer CMake.
+RUN curl https://cmake.org/files/v3.8/cmake-3.8.2.tar.gz -o /tmp/cmake-3.8.2.tar.gz && \
+ tar xvzf /tmp/cmake-3.8.2.tar.gz -C /tmp && \
+ cd /tmp/cmake-3.8.2 && \
+ ./configure && \
+ make && \
+ make install && \
+ cmake --version
+
+# Add an unprivileged user.
+RUN adduser --disabled-password --gecos '' mesos
+USER mesos
+
+COPY ["entrypoint.sh", "entrypoint.sh"]
+CMD ["./entrypoint.sh"]