You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/01/02 14:58:37 UTC

[GitHub] [openwhisk] sciabarra commented on a change in pull request #4782: A docker image for the standalone openwhisk [work in progress - do not merge yet]

sciabarra commented on a change in pull request #4782: A docker image for the standalone openwhisk [work in progress - do not merge yet]
URL: https://github.com/apache/openwhisk/pull/4782#discussion_r362501639
 
 

 ##########
 File path: core/standalone/Dockerfile
 ##########
 @@ -0,0 +1,33 @@
+#
+# 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 amazoncorretto:8u232
+ARG OPENWHISK_JAR
+ENV DOCKER_VERSION=18.06.3-ce
+ENV WSK_VERSION=1.0.0
+RUN yum -y update && yum -y install git tar curl hostname
+RUN curl -sL \
+  https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz \
+  | tar xzvf -  -C /usr/bin --strip 1 docker/docker
+RUN curl -sL \
+  https://github.com/apache/openwhisk-cli/releases/download/${WSK_VERSION}/OpenWhisk_CLI-${WSK_VERSION}-linux-amd64.tgz \
+  | tar xzvf - -C /usr/bin wsk
+ADD ${OPENWHISK_JAR} /openwhisk-standalone.jar
+ADD init.sh /
+RUN touch /bin/xdg-open ; chmod +x /init.sh /bin/xdg-open
 
 Review comment:
   yup probably it is just simpler to add --no-ui then

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services