ci: install packages required for the PAM module

Signed-off-by: Dhanuka Warusadura <dhanuka@gnome.org>
This commit is contained in:
Dhanuka Warusadura 2023-11-03 09:48:11 +05:30
parent 39a3d14169
commit 175514244f
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
image: registry.gitlab.gnome.org/gnome/libsecret/master:v3 image: registry.gitlab.gnome.org/gnome/libsecret/master:v5
stages: stages:
- build - build

View File

@ -27,11 +27,14 @@ RUN dnf update -y \
tpm2-tss-devel \ tpm2-tss-devel \
vala \ vala \
valgrind-devel \ valgrind-devel \
pam-devel \
libpamtest-devel \
pam_wrapper \
&& dnf clean all && dnf clean all
ARG HOST_USER_ID=5555 ARG HOST_USER_ID=5555
ENV HOST_USER_ID ${HOST_USER_ID} ENV HOST_USER_ID ${HOST_USER_ID}
RUN useradd -u $HOST_USER_ID -ms /bin/bash user RUN useradd -u $HOST_USER_ID -ms /bin/bash -p password user
USER user USER user
WORKDIR /home/user WORKDIR /home/user