Skip to content
Snippets Groups Projects
Commit 119530dc authored by Eric Cano's avatar Eric Cano
Browse files

Matched buildtree runner docker file with the one of continuous integration.

parent aef0a724
No related branches found
Tags v4.4.0-1
No related merge requests found
......@@ -41,4 +41,20 @@ ADD ${BASEDIR}/opt /opt
# Docker image run setup
ADD ${BASEDIR}/run.sh /
ENTRYPOINT ["/run.sh"]
# Add custom rc.local to massage kubernetes resources for
# the taget docker container
ADD ${BASEDIR}/rc.local /etc/rc.d
# Make sure it can be executed by root
RUN chmod 744 /etc/rc.local
# disable selinux so that systemd works if the container is booted
# with an image that already contains selinux
ADD ${BASEDIR}/etc_selinux_config /etc/selinux/config
# One more thing so that we can use systemd
VOLUME [ "/sys/fs/cgroup" ]
# And finally run systemd if the entrypoint is not overriden by docker
ENTRYPOINT ["/usr/sbin/init"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment