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.

controller.Dockerfile 850B

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