ot4i / iib-docker

Eclipse Public License 1.0
63 stars 115 forks source link

Vulnerability Assessment on Bluemix #11

Closed jwende closed 8 years ago

jwende commented 8 years ago

the security assessment on bluemix required four actions:

Cheers Joerg

s-rogers commented 8 years ago

Thanks Joerg - these are useful tips if you intend to run in that particular environment. In terms of this project, which is intended really just as a demonstration of how you can run IIB in a a docker container, rather than as a proper production setup, I don't think we need to add these in. In fact, the first 2 would currently have no affect as we don't use a password for iibuser - we use sudo (I know, this is a while different issue - I'll look into alternatives at some point). I would also be cautious about adding in "RUN apt-get update && \ apt-get dist-upgrade -y" - Docker themselves say this is bad practice - see:

https://docs.docker.com/engine/articles/dockerfile_best-practices/

We could add in libssl and libgnutls explicitly, but I suspect that the base Ubuntu we build from will include these updates soon.