ci: upgrade ca-certificates in Linux Docker image

Otherwise cloning of BearSSL fails with:
```
Cloning into '/home/jenkins/workspace/status-desktop/platforms/linux/vendor/status-lib/vendor/nim-task-runner/vendor/nim-bearssl/bearssl/csources'...
fatal: unable to access 'https://www.bearssl.org/git/BearSSL/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: clone of 'https://www.bearssl.org/git/BearSSL' into submodule path '/home/jenkins/workspace/status-desktop/platforms/linux/vendor/status-lib/vendor/nim-task-runner/vendor/nim-bearssl/bearssl/csources' failed
Failed to clone 'bearssl/csources'. Retry scheduled
```
https://blog.dnsimple.com/2021/09/letsencrypt-intermediate-expiration/

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-11-22 11:27:15 +01:00 committed by Jakub
parent ebaa150082
commit c4c0484e61
2 changed files with 4 additions and 5 deletions

View File

@ -16,12 +16,11 @@ RUN export DEBIAN_FRONTEND=noninteractive \
&& sudo apt update -yq \ && sudo apt update -yq \
&& sudo apt purge -yq gnupg \ && sudo apt purge -yq gnupg \
&& sudo apt install -yq --fix-missing \ && sudo apt install -yq --fix-missing \
build-essential cmake jq git s3cmd gnupg2 \ build-essential cmake jq git s3cmd gnupg2 ca-certificates \
libpcre3-dev libnss3 libxcomposite1 libxtst6 \ libpcre3-dev libnss3 libxcomposite1 libxtst6 libpcsclite-dev \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \ gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly gstreamer1.0-libav \ gstreamer1.0-plugins-ugly gstreamer1.0-libav \
gstreamer1.0-tools gstreamer1.0-alsa gstreamer1.0-pulseaudio \ gstreamer1.0-tools gstreamer1.0-alsa gstreamer1.0-pulseaudio
libpcsclite-dev
# Installing Golang # Installing Golang
RUN GOLANG_SHA256="d2c095c95f63c2a3ef961000e0ecb9d81d5c68b6ece176e2a8a2db82dc02931c" \ RUN GOLANG_SHA256="d2c095c95f63c2a3ef961000e0ecb9d81d5c68b6ece176e2a8a2db82dc02931c" \

View File

@ -4,7 +4,7 @@ pipeline {
agent { agent {
docker { docker {
label 'linux' label 'linux'
image 'statusteam/nim-status-client-build:1.1.0' image 'statusteam/nim-status-client-build:1.1.1'
/* allows jenkins use cat and mounts '/dev/fuse' for linuxdeployqt */ /* allows jenkins use cat and mounts '/dev/fuse' for linuxdeployqt */
args '--entrypoint="" --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse' args '--entrypoint="" --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse'
} }