From eae40ee9fb4d90b6002548232b1eb7650ddb4135 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Fri, 12 Feb 2016 00:11:59 +0900 Subject: [PATCH 1/2] add dockerfile --- Dockerfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..13b95b552 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +// Copyright (c) 2014-2015 Dropbox, Inc. +// +// Licensed 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. + +// This file is a hack for debugging deadlocks. It makes pthread_mutex_lock() complain if it takes more than given time +// (TIMEOUT_S) to grab a lock. Perhaps it will be useful in future +FROM ubuntu:14.04 +RUN apt-get update +RUN apt-get install -y build-essential +RUN apt-get install -yq automake git cmake ninja-build ccache libncurses5-dev liblzma-dev libreadline-dev libgmp3-dev libmpfr-dev autoconf libtool python-dev texlive-extra-utils clang libssl-dev libsqlite3-dev pkg-config libbz2-dev +RUN apt-get install git +RUN git clone https://github.com/dropbox/pyston.git ~/pyston +RUN mkdir ~/pyston_deps +RUN git clone https://github.com/llvm-mirror/llvm.git ~/pyston_deps/llvm-trunk +RUN git clone https://github.com/llvm-mirror/clang.git ~/pyston_deps/llvm-trunk/tools/clang +RUN cd ~/pyston && git config --global user.email "docker@pyston.com" && git config --global user.name "docker" +RUN cd ~/pyston && git submodule update --init --recursive build_deps &&make llvm_up && make pyston_release From e533e354ef9b7c390f7d8c6b3823969508221e09 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sun, 20 Mar 2016 12:08:25 +0900 Subject: [PATCH 2/2] remove some commentsw --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 13b95b552..2695c6d01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -// This file is a hack for debugging deadlocks. It makes pthread_mutex_lock() complain if it takes more than given time -// (TIMEOUT_S) to grab a lock. Perhaps it will be useful in future FROM ubuntu:14.04 RUN apt-get update RUN apt-get install -y build-essential