Skip to content

Commit

Permalink
Re-align
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvino committed Jan 14, 2024
1 parent 3132b1e commit ffe4972
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
28 changes: 14 additions & 14 deletions Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@ ENV DEBIAN_FRONTEND=noninteractive \

# Prepare Debian build environment
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install --no-install-recommends -y \
curl ninja-build debhelper gnupg wget devscripts \
mmv equivs git nasm pkg-config subversion dh-autoreconf \
libpciaccess-dev libwayland-dev libx11-dev libx11-xcb-dev \
libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev \
libxcb-shm0-dev libxcb-sync-dev libxshmfence-dev libxext-dev \
libxfixes-dev libxcb1-dev libxrandr-dev libzstd-dev \
libelf-dev python3-pip zip unzip tar flex bison \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
&& apt-get upgrade -y \
&& apt-get install --no-install-recommends -y \
curl ninja-build debhelper gnupg wget devscripts \
mmv equivs git nasm pkg-config subversion dh-autoreconf \
libpciaccess-dev libwayland-dev libx11-dev libx11-xcb-dev \
libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev \
libxcb-shm0-dev libxcb-sync-dev libxshmfence-dev libxext-dev \
libxfixes-dev libxcb1-dev libxrandr-dev libzstd-dev \
libelf-dev python3-pip zip unzip tar flex bison \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*

# Install newer tools from pip3
RUN pip3 install $(pip3 help install | grep -o "\-\-break-system-packages") --upgrade pip \
&& pip3 install $(pip3 help install | grep -o "\-\-break-system-packages") meson cmake mako jinja2
&& pip3 install $(pip3 help install | grep -o "\-\-break-system-packages") meson cmake mako jinja2

# Avoids timeouts when using git and disable the detachedHead advice
RUN git config --global http.postbuffer 524288000 \
&& git config --global advice.detachedHead false
&& git config --global advice.detachedHead false

# Link to docker-build script
RUN ln -sf ${SOURCE_DIR}/docker-build.sh /docker-build.sh
Expand Down
40 changes: 20 additions & 20 deletions Dockerfile.win64.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ ENV DEBIAN_FRONTEND=noninteractive \

# Prepare Debian and mingw-w64 build environment
RUN apt-get -y update \
&& apt-get install --no-install-recommends -y \
build-essential yasm nasm xxd pkgconf git curl \
wget unzip subversion autoconf automake libtool \
libtool-bin autopoint cmake clang texinfo texi2html \
help2man flex bison gperf gettext itstool ragel \
libc6-dev libssl-dev gtk-doc-tools gobject-introspection \
gawk meson ninja-build p7zip-full python3-distutils \
python3-apt python-is-python3 zip quilt \
binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64 \
g++-mingw-w64-x86-64 gfortran-mingw-w64-x86-64 \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /usr/lib/gcc/*-w64-mingw32/*/libstdc++*.dll* \
&& rm -rf /usr/lib/gcc/*-w64-mingw32/*/libgcc_s* \
&& rm -rf /usr/lib/gcc/*-w64-mingw32/*/*.dll.a \
&& rm -rf /usr/*-w64-mingw32/lib/*.dll.a
&& apt-get install --no-install-recommends -y \
build-essential yasm nasm xxd pkgconf git curl \
wget unzip subversion autoconf automake libtool \
libtool-bin autopoint cmake clang texinfo texi2html \
help2man flex bison gperf gettext itstool ragel \
libc6-dev libssl-dev gtk-doc-tools gobject-introspection \
gawk meson ninja-build p7zip-full python3-distutils \
python3-apt python-is-python3 zip quilt \
binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64 \
g++-mingw-w64-x86-64 gfortran-mingw-w64-x86-64 \
&& apt-get clean autoclean -y \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /usr/lib/gcc/*-w64-mingw32/*/libstdc++*.dll* \
&& rm -rf /usr/lib/gcc/*-w64-mingw32/*/libgcc_s* \
&& rm -rf /usr/lib/gcc/*-w64-mingw32/*/*.dll.a \
&& rm -rf /usr/*-w64-mingw32/lib/*.dll.a

# Avoids timeouts when using git and disable the detachedHead advice
RUN git config --global http.postbuffer 524288000 \
&& git config --global advice.detachedHead false
&& git config --global advice.detachedHead false

# Prepare build script and patches
RUN mkdir -p /opt/ffmpeg /opt/ffdeps ${SOURCE_DIR} \
&& ln -sf ${SOURCE_DIR}/debian/patches ${SOURCE_DIR} \
&& ln -sf ${SOURCE_DIR}/docker-build-win64.sh /docker-build-win64.sh
&& ln -sf ${SOURCE_DIR}/debian/patches ${SOURCE_DIR} \
&& ln -sf ${SOURCE_DIR}/docker-build-win64.sh /docker-build-win64.sh

VOLUME ${ARTIFACT_DIR}/

Expand Down

0 comments on commit ffe4972

Please sign in to comment.