diff --git a/Others/conda/25.1.1/24.03-lts-sp1/Dockerfile b/Others/conda/25.1.1/24.03-lts-sp1/Dockerfile index f202bf9ab97f5e7f3b848c50825f74f1aca487f3..552087cfe430721ba499841e283ef3866da4625c 100644 --- a/Others/conda/25.1.1/24.03-lts-sp1/Dockerfile +++ b/Others/conda/25.1.1/24.03-lts-sp1/Dockerfile @@ -6,7 +6,7 @@ ARG BUILDARCH ARG VERSION=25.1.1-1 RUN yum update -y && \ - yum install -y wget cronie procps jq && \ + yum install -y wget&& \ yum clean all && \ rm -rf /var/cache/yum @@ -21,11 +21,3 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \ wget https://repo.anaconda.com/miniconda/Miniconda3-py311_${VERSION}-Linux-${BUILDARCH}.sh -O ~/miniconda.sh && \ bash ~/miniconda.sh -b -p /usr/local/miniconda && \ rm -f ~/miniconda.sh - -COPY entrypoint.sh /usr/local/miniconda/bin/entrypoint.sh - -RUN chmod +x /usr/local/miniconda/bin/entrypoint.sh - -ENTRYPOINT ["/usr/local/miniconda/bin/entrypoint.sh"] - -CMD ["bash"] diff --git a/Others/conda/25.1.1/24.03-lts-sp1/entrypoint.sh b/Others/conda/25.1.1/24.03-lts-sp1/entrypoint.sh deleted file mode 100644 index 5085e9d1b5a4d65bb1aa922569529500bdfef591..0000000000000000000000000000000000000000 --- a/Others/conda/25.1.1/24.03-lts-sp1/entrypoint.sh +++ /dev/null @@ -1,111 +0,0 @@ -#!/bin/bash - -# Configuration with date-based paths -EXECUTION_TIME=$(date +%s) -CONDA_ROOT_DIR="/var/run/conda" -CONDA_JSON_FILE="$CONDA_ROOT_DIR/result.json" - -if [ $# -eq 0 ]; then - echo "No packages specified. Nothing to do." - exit 0 -fi - -# Initialize conda and configure Conda channels -source /usr/local/miniconda/etc/profile.d/conda.sh -if [ ! -f ~/.condarc ]; then - conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ && \ - conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/ && \ - conda config --set channel_priority strict -fi - -# Initialize files with execution info -mkdir -p "$CONDA_ROOT_DIR" -cat > "$CONDA_JSON_FILE" <> "$log" - conda install -y "$pkg" >> "$log" 2>&1 - local status=$? - - local version="\"\"" - local channel="\"\"" - local url="\"\"" - - if [ $status -eq 0 ]; then - version="$(conda list | awk -v pkg="$pkg" '$1 == pkg {print $2}')" - channel="$(get_package_channel "$pkg")" - url="\"https://anaconda.org/$channel/$pkg\"" - fi - - local end_time=$(date +%s) - local duration=$(( end_time - start_time )) - - # Build package JSON entry - json_packages+="$(cat < "$CONDA_JSON_FILE" <