Optimize git clone process in Dockerfile
This commit is contained in:
parent
6111042907
commit
70d16ab097
@ -3,7 +3,7 @@ FROM debian
|
|||||||
WORKDIR /
|
WORKDIR /
|
||||||
RUN apt update -y && apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake unzip zip sudo libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev cmake ninja-build
|
RUN apt update -y && apt install -y g++ gcc git curl wget nasm yasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake unzip zip sudo libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev cmake ninja-build
|
||||||
|
|
||||||
RUN git clone https://github.com/microsoft/vcpkg && cd vcpkg && git checkout 2023.04.15
|
RUN git clone --branch 2023.04.15 --depth=1 https://github.com/microsoft/vcpkg
|
||||||
RUN /vcpkg/bootstrap-vcpkg.sh -disableMetrics
|
RUN /vcpkg/bootstrap-vcpkg.sh -disableMetrics
|
||||||
RUN /vcpkg/vcpkg --disable-metrics install libvpx libyuv opus aom
|
RUN /vcpkg/vcpkg --disable-metrics install libvpx libyuv opus aom
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user