Manage a pool of nodes for a distributed test infrastructure
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.

Dockerfile 997B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright (c) 2019 Red Hat, Inc.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  12. # implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. FROM opendevorg/python-builder as builder
  16. COPY . /tmp/src
  17. RUN assemble
  18. FROM opendevorg/python-base as nodepool-base
  19. COPY --from=builder /output/ /output
  20. RUN /output/install-from-bindep
  21. FROM nodepool-base as nodepool
  22. CMD ["/usr/local/bin/nodepool"]
  23. FROM nodepool-base as nodepool-launcher
  24. CMD ["/usr/local/bin/nodepool-launcher"]
  25. FROM nodepool-base as nodepool-builder
  26. CMD ["/usr/local/bin/nodepool-builder"]