Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

35 lignes
898B

  1. FROM rockylinux:9
  2. # Base image
  3. # Local change to disable mirrorlists
  4. RUN find /etc/yum.repos.d/ -type f -exec sed -i 's/^mirrorlist/#mirrorlist/;s/^#baseurl/baseurl/' {} \;
  5. RUN dnf makecache --refresh && \
  6. dnf -y update
  7. ENV JRE_VER=17
  8. RUN dnf -y install vim yum-utils createrepo_c bzip2 tar vim cargo nodejs \
  9. jq java-${JRE_VER}-openjdk java-${JRE_VER}-openjdk-devel.x86_64 nmap-ncat \
  10. python3.12-pip python3.12-lxml python3.12-requests wget unzip && \
  11. dnf -y update && \
  12. ln -sf /usr/bin/python3.12 /usr/bin/python3 && \
  13. dnf -y clean all && rm -rf /var/cache
  14. # Local image
  15. WORKDIR /workdir
  16. ENV GRADLE_HOME=/opt/gradle
  17. COPY download-gradle.sh .
  18. RUN sh ./download-gradle.sh 8.12 8.11 8.10 8.8
  19. COPY requirements.txt .
  20. RUN python3 -m pip install -r requirements.txt
  21. COPY resolve-deps.sh .
  22. COPY src ./src
  23. ENV CUSTOMPYTHON=python3
  24. CMD [ "/bin/sh", "./resolve-deps.sh" ]