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_py3.Dockerfile 835B

123456789101112131415161718192021222324
  1. FROM fedora:28
  2. LABEL authors="Antoni Segura Puimedon<toni@kuryr.org>, Michał Dulko<mdulko@redhat.com>"
  3. ARG UPPER_CONSTRAINTS_FILE="https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt"
  4. RUN dnf update -y \
  5. && dnf install -y --setopt=tsflags=nodocs python3-pip \
  6. && dnf install -y --setopt=tsflags=nodocs gcc python3-devel git
  7. COPY . /opt/kuryr-kubernetes
  8. RUN pip3 install -c $UPPER_CONSTRAINTS_FILE --no-cache-dir /opt/kuryr-kubernetes \
  9. && dnf -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/local/bin/kuryr-k8s-controller" ]