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
// identity.py | |
def main(args): | |
print(args) | |
return { 'args' : args } | |
$ wsk package create feedtest --shared=yes | |
ok: created package feedtest | |
$ wsk action create feedtest/identity identity.py --kind python:3 | |
ok: created action feedtest/identity |
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
# Licensed to the Apache Software Foundation (ASF) under one or more contributor | |
# license agreements; and to You under the Apache License, Version 2.0. | |
FROM scala | |
ENV DOCKER_VERSION 1.12.0 | |
ENV KUBERNETES_VERSION 1.6.4 | |
RUN apk update | |
RUN apk add --update wget |