File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 33mkdir aitest-context # empty build context
44./UltraGrid-" $VERSION " -x86_64.AppImage --appimage-extract
55
6- for n in archlinux ubuntu; do
7- docker build -f .github/scripts/Linux/utils/Dockerfile.$n \
8- -t aitest-$n aitest-context
6+ for n in archlinux ubuntu:22.04 ubuntu:latest; do
7+ dockerfile=.github/scripts/Linux/utils/Dockerfile.$n
8+ if expr $n : " .*:" ; then
9+ image_name=$( echo $n | cut -d: -f 1)
10+ image_version=$( echo $n | cut -d: -f 2)
11+ n_dockerfile=$( mktemp)
12+ cat .github/scripts/Linux/utils/Dockerfile." $image_name " |
13+ sed " s/DOCKER_IMAGE_VERSION/$image_version /" \
14+ > " $n_dockerfile "
15+ dockerfile=$n_dockerfile
16+ fi
17+ docker build -f " $dockerfile " -t aitest-$n aitest-context
918 docker run --rm -v " $PWD " /squashfs-root/:/AppImage aitest-$n sh -ce '
1019/AppImage/AppRun -v
1120/AppImage/AppRun --tool uv-qt -h
Original file line number Diff line number Diff line change 11# inspired by https://github.com/aferrero2707/appimage-testsuite
22# installing libraries included in https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist
3- FROM ubuntu:22.04
3+ FROM ubuntu:DOCKER_IMAGE_VERSION
44RUN apt-get update
55RUN apt-get install -y libasound2 libegl1-mesa libfontconfig1 libgl1-mesa-glx \
66 libgmp10 libharfbuzz0b libopengl0 libp11-kit0 libx11-6 xvfb
You can’t perform that action at this time.
0 commit comments