mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 15:43:28 +01:00
Resolve KASM-5399 "Feature/ alpine 319"
This commit is contained in:
parent
8b5ee59ae2
commit
4c9b065c31
@ -43,6 +43,8 @@ default:
|
||||
build_www:
|
||||
stage: www
|
||||
allow_failure: false
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
script:
|
||||
@ -66,6 +68,8 @@ build_www:
|
||||
build_ubuntu_bionic:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -102,6 +106,8 @@ build_ubuntu_bionic_arm:
|
||||
build_ubuntu_focal:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -138,6 +144,8 @@ build_ubuntu_focal_arm:
|
||||
build_ubuntu_jammy:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -174,6 +182,8 @@ build_ubuntu_jammy_arm:
|
||||
build_debian_buster:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -210,6 +220,8 @@ build_debian_buster_arm:
|
||||
build_debian_bullseye:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -247,6 +259,8 @@ build_debian_bullseye_arm:
|
||||
build_debian_bookworm:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -283,6 +297,8 @@ build_debian_bookworm_arm:
|
||||
build_kali_rolling:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -319,6 +335,8 @@ build_kali_rolling_arm:
|
||||
build_centos7:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -336,6 +354,8 @@ build_centos7:
|
||||
build_oracle_8:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -372,6 +392,8 @@ build_oracle_8_arm:
|
||||
build_oracle_9:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -408,6 +430,8 @@ build_oracle_9_arm:
|
||||
build_opensuse_15:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -444,6 +468,8 @@ build_opensuse_15_arm:
|
||||
build_fedora_thirtyseven:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -480,6 +506,8 @@ build_fedora_thirtyseven_arm:
|
||||
build_fedora_thirtyeight:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -516,6 +544,8 @@ build_fedora_thirtyeight_arm:
|
||||
build_alpine_317:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -551,6 +581,8 @@ build_alpine_317_arm:
|
||||
|
||||
test:
|
||||
stage: test
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
script:
|
||||
@ -560,6 +592,8 @@ test:
|
||||
build_alpine_318:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
@ -593,9 +627,49 @@ build_alpine_318_arm:
|
||||
paths:
|
||||
- output/
|
||||
|
||||
build_alpine_319:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
after_script:
|
||||
- *prepare_artfacts
|
||||
script:
|
||||
- bash builder/build-package alpine 319;
|
||||
only:
|
||||
variables:
|
||||
- $BUILD_JOBS == 'all' || $BUILD_JOBS =~ $CI_JOB_NAME
|
||||
artifacts:
|
||||
paths:
|
||||
- output/
|
||||
|
||||
build_alpine_319_arm:
|
||||
stage: build
|
||||
allow_failure: true
|
||||
tags:
|
||||
- oci-fixed-arm64
|
||||
before_script:
|
||||
- *prepare_build
|
||||
- *prepare_www
|
||||
after_script:
|
||||
- *prepare_artfacts
|
||||
script:
|
||||
- bash builder/build-package alpine 319;
|
||||
only:
|
||||
variables:
|
||||
- $BUILD_JOBS == 'all' || $BUILD_JOBS =~ $CI_JOB_NAME
|
||||
artifacts:
|
||||
paths:
|
||||
- output/
|
||||
|
||||
upload:
|
||||
stage: upload
|
||||
image: ubuntu:focal
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
artifacts:
|
||||
paths:
|
||||
- output/
|
||||
@ -633,6 +707,8 @@ upload_build_preview:
|
||||
needs: ["upload"]
|
||||
dependencies: ["upload"]
|
||||
image: ubuntu:focal
|
||||
tags:
|
||||
- oci-fixed-amd64
|
||||
before_script:
|
||||
- . .ci/upload.sh
|
||||
resource_group: upload_build_preview
|
||||
|
7
builder/dockerfile.alpine_319.apk.build
Normal file
7
builder/dockerfile.alpine_319.apk.build
Normal file
@ -0,0 +1,7 @@
|
||||
FROM alpine:3.19
|
||||
|
||||
RUN apk add shadow bash
|
||||
|
||||
RUN useradd -m docker && echo "docker:docker" | chpasswd
|
||||
|
||||
USER docker
|
82
builder/dockerfile.alpine_319.build
Normal file
82
builder/dockerfile.alpine_319.build
Normal file
@ -0,0 +1,82 @@
|
||||
FROM alpine:3.19
|
||||
|
||||
ENV KASMVNC_BUILD_OS alpine
|
||||
ENV KASMVNC_BUILD_OS_CODENAME 319
|
||||
ENV XORG_VER 1.20.14
|
||||
|
||||
RUN \
|
||||
echo "**** install build deps ****" && \
|
||||
apk add \
|
||||
alpine-release \
|
||||
alpine-sdk \
|
||||
autoconf \
|
||||
automake \
|
||||
bash \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
coreutils \
|
||||
curl \
|
||||
eudev-dev \
|
||||
font-cursor-misc \
|
||||
font-misc-misc \
|
||||
font-util-dev \
|
||||
git \
|
||||
grep \
|
||||
jq \
|
||||
libdrm-dev \
|
||||
libepoxy-dev \
|
||||
libjpeg-turbo-dev \
|
||||
libjpeg-turbo-static \
|
||||
libpciaccess-dev \
|
||||
libtool \
|
||||
libwebp-dev \
|
||||
libx11-dev \
|
||||
libxau-dev \
|
||||
libxcb-dev \
|
||||
libxcursor-dev \
|
||||
libxcvt-dev \
|
||||
libxdmcp-dev \
|
||||
libxext-dev \
|
||||
libxfont2-dev \
|
||||
libxkbfile-dev \
|
||||
libxrandr-dev \
|
||||
libxshmfence-dev \
|
||||
libxtst-dev \
|
||||
mesa-dev \
|
||||
mesa-dri-gallium \
|
||||
meson \
|
||||
nettle-dev \
|
||||
openssl-dev \
|
||||
pixman-dev \
|
||||
procps \
|
||||
shadow \
|
||||
tar \
|
||||
tzdata \
|
||||
wayland-dev \
|
||||
wayland-protocols \
|
||||
xcb-util-dev \
|
||||
xcb-util-image-dev \
|
||||
xcb-util-keysyms-dev \
|
||||
xcb-util-renderutil-dev \
|
||||
xcb-util-wm-dev \
|
||||
xinit \
|
||||
xkbcomp \
|
||||
xkbcomp-dev \
|
||||
xkeyboard-config \
|
||||
xorgproto \
|
||||
xorg-server-common \
|
||||
xorg-server-dev \
|
||||
xtrans
|
||||
|
||||
|
||||
ENV SCRIPTS_DIR=/tmp/scripts
|
||||
COPY builder/scripts $SCRIPTS_DIR
|
||||
RUN $SCRIPTS_DIR/build-webp
|
||||
RUN $SCRIPTS_DIR/build-libjpeg-turbo
|
||||
|
||||
RUN useradd -m docker && echo "docker:docker" | chpasswd
|
||||
|
||||
COPY --chown=docker:docker . /src/
|
||||
|
||||
USER docker
|
||||
ENTRYPOINT ["/src/builder/build.sh"]
|
Loading…
Reference in New Issue
Block a user