fix(CI): add fuse to docker container for building appimage
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good

This commit is contained in:
DanyLE 2024-03-10 16:59:28 +01:00
parent 8b8b20d2f5
commit 7dbc80345b
2 changed files with 10 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -3,6 +3,7 @@ pipeline {
docker { docker {
image 'xsangle/ci-tools:latest' image 'xsangle/ci-tools:latest'
reuseNode true reuseNode true
args ' --device /dev/fuse --privileged '
} }
} }
options { options {

View File

@ -1,4 +1,7 @@
FROM debian:bookworm AS deploy-env FROM debian:bookworm AS deploy-env
ARG UNAME=ci
ARG UID=1000
ARG GID=1000
RUN apt-get update && apt-get --yes --no-install-recommends install \ RUN apt-get update && apt-get --yes --no-install-recommends install \
build-essential \ build-essential \
@ -34,4 +37,9 @@ RUN apt-get update && apt-get --yes --no-install-recommends install \
libsqlite3-0:arm64 zlib1g:arm64 libreadline8:arm64 libssl3:arm64 \ libsqlite3-0:arm64 zlib1g:arm64 libreadline8:arm64 libssl3:arm64 \
libffi-dev:arm64 libturbojpeg0:arm64 libvncclient1:arm64 \ libffi-dev:arm64 libturbojpeg0:arm64 libvncclient1:arm64 \
libsqlite3-0:armhf zlib1g:armhf libreadline8:armhf libssl3:armhf \ libsqlite3-0:armhf zlib1g:armhf libreadline8:armhf libssl3:armhf \
libffi-dev:armhf libturbojpeg0:armhf libvncclient1:armhf libffi-dev:armhf libturbojpeg0:armhf libvncclient1:armhf
RUN groupadd -g 1000 -o ci
RUN useradd -m -u 1000 -g 1000 -o -s /bin/bash ci
USER ci
WORKDIR /home/ci