[DO-1573] Add xvfb package for test (#7)
Some checks failed
Build and publish docker image / Builds the image and publishes to docker hub (push) Has been cancelled

[DO-1573]

Co-authored-by: Boris Shestov <boris.shestov@avroid.tech>
Reviewed-on: https://git.avroid.tech/Docker/tavro-build-linux/pulls/7
This commit is contained in:
Boris Shestov
2025-02-10 16:56:55 +03:00
parent ed2f5faffb
commit 56d453d671
3 changed files with 12 additions and 3 deletions

View File

@@ -1,5 +1,13 @@
# Changelog # Changelog
## 1.6
### 10.02.2025
ADD:
* Добавлен пакет xvfb эмулирующий X сервер, выполняющий графические операции в памяти без вывода на экран
## 1.5 ## 1.5
### 24.01.2025 ### 24.01.2025

View File

@@ -46,6 +46,7 @@ RUN apt update && \
libxrender-dev \ libxrender-dev \
libxtst-dev \ libxtst-dev \
perl \ perl \
xvfb \
yasm && \ yasm && \
apt clean && \ apt clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
@@ -64,7 +65,7 @@ RUN wget ${NEXUS_URL}/repository/${NEXUS_QT_REPO}/v${VERSION}/qt-everywhere-open
./configure -release -opensource -confirm-license -nomake tests -nomake examples -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtdoc -skip qtmacextras -skip qtscript -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -skip qtwinextras -skip qtserialbus -xkbcommon -system-harfbuzz -system-libjpeg && \ ./configure -release -opensource -confirm-license -nomake tests -nomake examples -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtdoc -skip qtmacextras -skip qtscript -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -skip qtwinextras -skip qtserialbus -xkbcommon -system-harfbuzz -system-libjpeg && \
make -j$(nproc) && make install -j$(nproc) && cd .. && rm -rf qt-everywhere* /tmp/patches make -j$(nproc) && make install -j$(nproc) && cd .. && rm -rf qt-everywhere* /tmp/patches
#Ужасный костыль #Ужасный костыль
RUN ln -s /usr/lib/x86_64-linux-gnu/libvpx.so.9.0.0 /usr/lib/x86_64-linux-gnu/libvpx.so.7 RUN ln -s /usr/lib/x86_64-linux-gnu/libvpx.so.9.0.0 /usr/lib/x86_64-linux-gnu/libvpx.so.7
# Personalization # Personalization
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------

View File

@@ -2,10 +2,10 @@
IMAGE_NAME = tavro-build-linux IMAGE_NAME = tavro-build-linux
IMAGE_GROUP = tavro IMAGE_GROUP = tavro
IMAGE_TAG = 1.5 IMAGE_TAG = 1.6
REVISION = REVISION =
DOCKER_REGISTRY = harbor.avroid.tech DOCKER_REGISTRY = harbor.avroid.tech
CI_FLAGS = CI_FLAGS =
ifeq ($(CI), true) ifeq ($(CI), true)
CI_FLAGS = --no-cache CI_FLAGS = --no-cache