HUB
Sign inSign up
openwhisk-dev logo

goby/openwhisk-dev

By goby

•Updated over 9 years ago

Development environment for OpenWhisk project. https://github.com/apache/incubator-openwhisk

Image
0

303

goby/openwhisk-dev repository overview

⁠About this image

OpenWhisk-dev is a image based on java:8-jdk for setuping openwhisk⁠ development environment as quickly as possible. This image include:

  • Base image: java:8-jdk
  • Kernel: 4.4.0
  • Distribution: Debian Jessie
  • Software: ** Orable Java 8 ** Scala 2.11.6 ** Gradle 3.5 ** Ansiable 2.3.0

⁠How to use

Goto path to openwhisk source root, and run following:

# the docker tool and docker endpoint should mount into container to run gradle distDocker
docker run -it -v $PWD:/home/whisk/dev/openwhisk --user root -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock openwhisk-dev:jdk-8 bash
# in the docker
# you may need change owner of the source code
# running gradle task
gradle distDocker

⁠What is OpenWhisk

Build Status License Join Slack

OpenWhisk is a cloud-first distributed event-based programming service. It provides a programming model to upload event handlers to a cloud service, and register the handlers to respond to various events. Learn more at http://openwhisk.incubator.apache.org⁠.

⁠Quick Start

A Vagrant⁠ machine is the easiest way to run OpenWhisk on Mac, Windows PC or GNU/Linux. Download and install VirtualBox⁠ and Vagrant⁠ for your operating system and architecture.

Follow these step to run your first OpenWhisk Action:

# Clone openwhisk
git clone --depth=1 https://github.com/apache/incubator-openwhisk.git openwhisk

# Change directory to tools/vagrant
cd openwhisk/tools/vagrant

# Run script to create vm and run hello action
./hello

Wait for hello action output:

wsk action invoke /whisk.system/utils/echo -p message hello --result
{
    "message": "hello"
}

These steps were tested on Mac OS X El Capitan, Ubuntu 14.04.3 LTS and Windows using Vagrant. For more information about using OpenWhisk on Vagrant see the tools/vagrant/README.md⁠

⁠Native development

Docker must be natively installed in order to build and deploy OpenWhisk. If you plan to make contributions to OpenWhisk, we recommend either a Mac or Ubuntu environment.

⁠Learn concepts and commands

Browse the documentation⁠ to learn more. Here are some topics you may be interested in:

⁠Issues

Report bugs, ask questions and request features here on GitHub⁠.

⁠Slack

You can also join the OpenWhisk Team on Slack https://openwhisk-team.slack.com⁠ and chat with developers. To get access to our public slack team, request an invite https://openwhisk.incubator.apache.org/slack.html⁠.

Tag summary

Content type

Image

Digest

Size

444.8 MB

Last updated

over 9 years ago

docker pull goby/openwhisk-dev