mirror of
https://github.com/antos-rde/antos.git
synced 2025-04-29 20:26:45 +02:00
fix(CI): add fuse to docker container for building appimage
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos/pipeline/head This commit looks good
This commit is contained in:
parent
8b8b20d2f5
commit
7dbc80345b
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -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 {
|
||||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user