llava-plus-codebase

Форк
0
52 строки · 1.5 Кб
1
FROM mcr.microsoft.com/devcontainers/base:ubuntu-20.04
2

3
SHELL [ "bash", "-c" ]
4

5
# update apt and install packages
6
RUN apt update && \
7
    apt install -yq \
8
        ffmpeg \
9
        dkms \
10
        build-essential
11

12
# add user tools
13
RUN sudo apt install -yq \
14
        jq \
15
        jp \
16
        tree \
17
        tldr
18

19
# add git-lfs and install
20
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash && \
21
    sudo apt-get install -yq git-lfs && \
22
    git lfs install
23

24
############################################
25
# Setup user
26
############################################
27

28
USER vscode
29

30
# install azcopy, a tool to copy to/from blob storage
31
# for more info: https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs-upload#upload-a-file
32
RUN cd /tmp && \
33
    wget https://azcopyvnext.azureedge.net/release20230123/azcopy_linux_amd64_10.17.0.tar.gz && \
34
    tar xvf azcopy_linux_amd64_10.17.0.tar.gz && \
35
    mkdir -p ~/.local/bin && \
36
    mv azcopy_linux_amd64_10.17.0/azcopy ~/.local/bin && \
37
    chmod +x ~/.local/bin/azcopy && \
38
    rm -rf azcopy_linux_amd64*
39

40
# Setup conda
41
RUN cd /tmp && \
42
    wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
43
    bash ./Miniconda3-latest-Linux-x86_64.sh -b && \
44
    rm ./Miniconda3-latest-Linux-x86_64.sh
45

46
# Install dotnet
47
RUN cd /tmp && \
48
    wget https://dot.net/v1/dotnet-install.sh && \
49
    chmod +x dotnet-install.sh && \
50
    ./dotnet-install.sh --channel 7.0 && \
51
    ./dotnet-install.sh --channel 3.1 && \
52
    rm ./dotnet-install.sh
53

54

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.