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.

30 lines
688 B

  1. ARG DOCKER_REGISTRY_HOST
  2. ARG CURRENT_DISTRO
  3. ARG PEPENGINE_VERSION
  4. ARG SEQUOIA_VERSION
  5. FROM ${DOCKER_REGISTRY_HOST}/pep-${CURRENT_DISTRO}-sequoia:${SEQUOIA_VERSION}
  6. ENV BUILDROOT /build
  7. ENV INSTPREFIX /install
  8. ENV OUTDIR /out
  9. ARG PEP_MACHINE_DIR
  10. ### Setup working directory
  11. RUN mkdir ${BUILDROOT}/pEpEngine
  12. COPY ./scripts/common/build_pEpEngine_deps.sh ${BUILDROOT}/pEpEngine
  13. USER root
  14. RUN yum install -y python3 python3-lxml binutils && yum clean all
  15. RUN chown -R pep-builder:pep-builder ${BUILDROOT}/pEpEngine
  16. WORKDIR ${BUILDROOT}/pEpEngine
  17. ARG YML2_VERSION
  18. ARG ENGINE_VERSION
  19. ARG CURRENT_DISTRO
  20. ### Build pEpEngine dependencies
  21. USER pep-builder
  22. RUN sh ./build_pEpEngine_deps.sh