From b2d4964d4374edc147b33b9401b3091eb7e04732 Mon Sep 17 00:00:00 2001 From: bachvudinh Date: Tue, 16 Jul 2024 21:46:18 +0700 Subject: [PATCH] update dockerfile --- .github/runners/Dockerfile | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/runners/Dockerfile b/.github/runners/Dockerfile index 6f5827d..7fc0d93 100644 --- a/.github/runners/Dockerfile +++ b/.github/runners/Dockerfile @@ -1,17 +1,19 @@ -FROM docker.io/pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime +FROM python:3.11-slim -RUN apt-get update \ - && apt-get install -y --no-install-recommends \ - build-essential \ - cmake \ - sudo \ - unzip \ +# Install necessary packages +RUN apt-get update && apt-get install -y \ curl \ - wget \ + tar \ + unzip \ git \ - git-lfs \ jq \ - && rm -rf /var/lib/apt/lists/* + wget \ + && rm -rf /var/lib/apt/lists/* + +# Install MinIO client +RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc \ + && chmod +x mc \ + && mv mc /usr/local/bin/mc RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ unzip awscliv2.zip && \