You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/07/10 13:57:25 UTC
[GitHub] taylorking commented on issue #243: Adding provisions for building s390x (Linux on Z) images of openwhisk-apigateway
taylorking commented on issue #243: Adding provisions for building s390x (Linux on Z) images of openwhisk-apigateway
URL: https://github.com/apache/incubator-openwhisk-apigateway/pull/243#issuecomment-314112701
Thanks, the profiling scripts just add some things to the dockerfile to make it easier to run the systemtap profiling utilities. Because we use systemtap inside of a docker container, we need to run both with --privileged and have matching kernel headers for the hosts kernel. I picked ubuntu as a base image because it is easy to simply do `sudo apt-get update && sudo apt-get install linux-headers-$(uname -r)`. Inside the repo there is a script `build_profiling.sh` that will generate a new dockerfile decorated with some of the things you need to run systemtap scripts. I am open to any suggestions you have on this, it would be really neat to use a preprocessor to generate this dockerfile instead of having to just use pattern replacement on the file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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