Kubernetes integration with OpenStack networking
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

27 lines
872 B

  1. FROM centos:8
  2. LABEL authors="Antoni Segura Puimedon<toni@kuryr.org>, Michał Dulko<mdulko@redhat.com>"
  3. ARG UPPER_CONSTRAINTS_FILE="https://releases.openstack.org/constraints/upper/master"
  4. RUN yum upgrade -y \
  5. && yum install -y epel-release \
  6. && yum install -y --setopt=tsflags=nodocs python3-pip libstdc++ \
  7. && yum install -y --setopt=tsflags=nodocs gcc gcc-c++ python3-devel git
  8. COPY . /opt/kuryr-kubernetes
  9. RUN pip3 install -c $UPPER_CONSTRAINTS_FILE --no-cache-dir /opt/kuryr-kubernetes \
  10. && yum -y history undo last \
  11. && yum clean all \
  12. && rm -rf /opt/kuryr-kubernetes \
  13. && groupadd -r kuryr -g 711 \
  14. && useradd -u 711 -g kuryr \
  15. -d /opt/kuryr-kubernetes \
  16. -s /sbin/nologin \
  17. -c "Kuryr controller user" \
  18. kuryr
  19. USER kuryr
  20. CMD ["--config-dir", "/etc/kuryr"]
  21. ENTRYPOINT [ "kuryr-k8s-controller" ]