25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- FROM rockylinux:9
-
- # Base image
- # Local change to disable mirrorlists
- RUN find /etc/yum.repos.d/ -type f -exec sed -i 's/^mirrorlist/#mirrorlist/;s/^#baseurl/baseurl/' {} \;
-
- RUN dnf makecache --refresh && \
- dnf -y update
-
- ENV JRE_VER=17
-
- RUN dnf -y install vim yum-utils createrepo_c bzip2 tar vim cargo nodejs \
- jq java-${JRE_VER}-openjdk java-${JRE_VER}-openjdk-devel.x86_64 nmap-ncat \
- python3.12-pip python3.12-lxml python3.12-requests wget unzip && \
- dnf -y update && \
- ln -sf /usr/bin/python3.12 /usr/bin/python3 && \
- dnf -y clean all && rm -rf /var/cache
-
- # Local image
- WORKDIR /workdir
-
- ENV GRADLE_HOME=/opt/gradle
- COPY download-gradle.sh .
- RUN sh ./download-gradle.sh 8.12 8.11 8.10 8.8
-
- COPY requirements.txt .
- RUN python3 -m pip install -r requirements.txt
-
- COPY resolve-deps.sh .
- COPY src ./src
-
- ENV CUSTOMPYTHON=python3
-
- CMD [ "/bin/sh", "./resolve-deps.sh" ]
|