leinier310 commited on
Commit
5722bd8
·
verified ·
1 Parent(s): e05d812

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -22
Dockerfile CHANGED
@@ -8,28 +8,7 @@ RUN apt-get update && \
8
 
9
  WORKDIR /app
10
 
11
- # Descarga Android NDKs
12
- RUN curl -L -o android-ndk-r29-beta2-linux.zip https://dl.google.com/android/repository/android-ndk-r29-beta2-linux.zip && \
13
- curl -L -o android-ndk-r28b-linux.zip https://dl.google.com/android/repository/android-ndk-r28b-linux.zip
14
-
15
- # Android Studio
16
- RUN curl -L -o android-studio-2024.3.2.15-linux.tar.gz https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2024.3.2.15/android-studio-2024.3.2.15-linux.tar.gz
17
-
18
- # Componentes Android SDK
19
- RUN curl -L -o commandlinetools-linux.zip https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip && \
20
- curl -L -o platform-tools.zip https://dl.google.com/android/repository/platform-tools_r35.0.0-linux.zip && \
21
- curl -L -o build-tools.zip https://dl.google.com/android/repository/build-tools_r34.0.0-linux.zip && \
22
- curl -L -o platform-34.zip https://dl.google.com/android/repository/platform-34_r01.zip && \
23
- curl -L -o sources-34.zip https://dl.google.com/android/repository/sources-34_r01.zip && \
24
- curl -L -o emulator.zip https://dl.google.com/android/repository/emulator-linux_x64-10542434.zip && \
25
- curl -L -o system-image.zip https://dl.google.com/android/repository/sys-img/google_apis/x86_64-34_r09.zip && \
26
- curl -L -o extras-google-m2.zip https://dl.google.com/android/repository/extras/google/m2repository_r58.zip && \
27
- curl -L -o extras-android-m2.zip https://dl.google.com/android/repository/extras/android/m2repository_r47.zip
28
-
29
- # ISOs de distribuciones Linux
30
- RUN curl -L -o ubuntu-25.04.iso https://releases.ubuntu.com/25.04/ubuntu-25.04-desktop-amd64.iso && \
31
- curl -L -o fedora-42.iso https://download.fedoraproject.org/pub/fedora/linux/releases/42/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-42-1.10.iso && \
32
- curl -L -o archlinux-2025.iso https://geo.mirror.pkgbuild.com/iso/2025.06.01/archlinux-2025.06.01-x86_64.iso
33
 
34
  # Abre puerto 7860
35
  EXPOSE 7860
 
8
 
9
  WORKDIR /app
10
 
11
+ RUN pip download --no-cache-dir --retries 999 --timeout 60 --index-url https://download.pytorch.org/whl/rocm7.2 torch==2.13.0+rocm7.2 -d . && mv *.whl torch.whl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  # Abre puerto 7860
14
  EXPOSE 7860