sciabarra commented on a change in pull request #4782: A docker image for the standalone openwhisk URL: https://github.com/apache/openwhisk/pull/4782#discussion_r361962761
########## 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: This one is to avoid the error message. Browser automation cannot work from the docker container... afaik. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
