Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 349DB200CDD for ; Mon, 7 Aug 2017 14:00:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 330981653A9; Mon, 7 Aug 2017 12:00:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 772C616539D for ; Mon, 7 Aug 2017 14:00:56 +0200 (CEST) Received: (qmail 57874 invoked by uid 500); 7 Aug 2017 12:00:55 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 57864 invoked by uid 99); 7 Aug 2017 12:00:55 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2017 12:00:55 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 6E01681192; Mon, 7 Aug 2017 12:00:52 +0000 (UTC) Date: Mon, 07 Aug 2017 12:00:52 +0000 To: "commits@openwhisk.apache.org" Subject: [incubator-openwhisk] branch master updated: Temporalily use published swift3Action. (#2580) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <150210725248.7327.13530979172030052094@gitbox.apache.org> From: cbickel@apache.org Reply-To: "commits@openwhisk.apache.org" X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-openwhisk X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c59ef2a5621e1d2362801ce91b9eff1c3cf885e1 X-Git-Newrev: 49ac756064905da0bcba8ed9978a3e29dd8c04dc X-Git-Rev: 49ac756064905da0bcba8ed9978a3e29dd8c04dc X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated archived-at: Mon, 07 Aug 2017 12:00:57 -0000 This is an automated email from the ASF dual-hosted git repository. cbickel pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git The following commit(s) were added to refs/heads/master by this push: new 49ac756 Temporalily use published swift3Action. (#2580) 49ac756 is described below commit 49ac756064905da0bcba8ed9978a3e29dd8c04dc Author: Markus Thömmes AuthorDate: Mon Aug 7 14:00:50 2017 +0200 Temporalily use published swift3Action. (#2580) The download of Swift 3.0.2 on swift.org is broken and will only be revived in a couple of days. This effectively freezes the swift3Action image to the latest published version on Dockerhub. There are no changes imminent anyway. --- core/swift3Action/Dockerfile | 69 +------------------------------------------- 1 file changed, 1 insertion(+), 68 deletions(-) diff --git a/core/swift3Action/Dockerfile b/core/swift3Action/Dockerfile index aa766d4..1324400 100644 --- a/core/swift3Action/Dockerfile +++ b/core/swift3Action/Dockerfile @@ -1,68 +1 @@ -# Dockerfile for swift actions, overrides and extends ActionRunner from actionProxy -# This Dockerfile is partially based on: https://github.com/swiftdocker/docker-swift/ -FROM buildpack-deps:trusty - -ENV DEBIAN_FRONTEND noninteractive - -# Upgrade and install basic Python dependencies -RUN apt-get -y purge \ - && apt-get -y update \ - && apt-get -y install --fix-missing python2.7 python-gevent python-flask \ -\ -# Upgrade and install Swift dependencies - && apt-get -y install --fix-missing build-essential curl wget libicu-dev \ -\ -# Install zip for compiling Swift actions - && apt-get -y install zip \ -\ -# Clean up - && apt-get clean - -# Install clang manually, since SPM wants at least Clang 3-6 -RUN cd / &&\ -(curl -L -k http://llvm.org/releases/3.6.2/clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz | tar xJ) &&\ -cp -r /clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04/* /usr/ &&\ -rm -rf /clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04 - -RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/clang++ 20 -RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/clang 20 - -# Install Swift keys -RUN wget --no-verbose -O - https://swift.org/keys/all-keys.asc | gpg --import - && \ - gpg --keyserver hkp://pool.sks-keyservers.net --refresh-keys Swift - -# Install Swift Ubuntu 14.04 Snapshot -#https://swift.org/builds/swift-3.0.1-release/ubuntu1404/swift-3.0.1-RELEASE/swift-3.0.1-RELEASE-ubuntu14.04.tar.gz - -ENV SWIFT_VERSION 3.0.2 -ENV SWIFT_RELEASE_TYPE RELEASE -ENV SWIFT_PLATFORM ubuntu14.04 - -RUN SWIFT_ARCHIVE_NAME=swift-$SWIFT_VERSION-$SWIFT_RELEASE_TYPE-$SWIFT_PLATFORM && \ - SWIFT_URL=https://swift.org/builds/swift-$SWIFT_VERSION-$(echo "$SWIFT_RELEASE_TYPE" | tr '[:upper:]' '[:lower:]')/$(echo "$SWIFT_PLATFORM" | tr -d .)/swift-$SWIFT_VERSION-$SWIFT_RELEASE_TYPE/$SWIFT_ARCHIVE_NAME.tar.gz && \ - echo $SWIFT_URL && \ - wget --no-verbose $SWIFT_URL && \ - wget --no-verbose $SWIFT_URL.sig && \ - gpg --verify $SWIFT_ARCHIVE_NAME.tar.gz.sig && \ - tar -xzf $SWIFT_ARCHIVE_NAME.tar.gz --directory / --strip-components=1 && \ - rm -rf $SWIFT_ARCHIVE_NAME* /tmp/* /var/tmp/* - -# Add the action proxy -RUN mkdir -p /actionProxy -ADD actionproxy.py /actionProxy - -# Add files needed to build and run action -RUN mkdir -p /swift3Action -ADD epilogue.swift /swift3Action -ADD buildandrecord.py /swift3Action -ADD swift3runner.py /swift3Action -ADD spm-build /swift3Action/spm-build - - -# Build kitura net -RUN touch /swift3Action/spm-build/main.swift -RUN python /swift3Action/buildandrecord.py && rm /swift3Action/spm-build/.build/release/Action -#RUN cd /swift3Action/spm-build; swift build -c release; rm /swift3Action/spm-build/.build/release/Action -ENV FLASK_PROXY_PORT 8080 - -CMD ["/bin/bash", "-c", "cd /swift3Action && PYTHONIOENCODING='utf-8' python -u swift3runner.py"] \ No newline at end of file +FROM openwhisk/swift3action \ No newline at end of file -- To stop receiving notification emails like this one, please contact ['"commits@openwhisk.apache.org" '].