blob: dd71b05071d645b05b7d22221ef2c629c5924e5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
FROM fedora:35
RUN dnf makecache
RUN dnf -y install \
autoconf \
automake \
bison \
botan2 \
botan2-devel \
byacc \
bzip2 \
bzip2-devel \
clang \
cmake \
gcc \
gcc-c++ \
gettext-devel \
git \
gtest \
gtest-devel \
gzip \
json-c \
json-c-devel \
libtool \
make \
ncurses-devel \
openssl \
openssl-devel \
openssl-libs \
python3 \
ruby-devel \
rubygem-asciidoctor \
sudo \
wget \
zlib-devel \
;
RUN dnf clean all
RUN useradd rnpuser
RUN echo -e "rnpuser\tALL=(ALL)\tNOPASSWD:\tALL" > /etc/sudoers.d/rnpuser
RUN echo -e "rnpuser\tsoft\tnproc\tunlimited\n" > /etc/security/limits.d/30-rnpuser.conf
# Everything below wouldn't be needed if packaged gpg didn't fail with "Unknown elliptic curve"
# on these tests from cli_tests.Misc:
# test_aead_last_chunk_zero_length
# test_clearsign_long_lines
# test_eddsa_sig_lead_zero
# test_text_sig_crcr
COPY ci ci
RUN export USE_STATIC_DEPENDENCIES=yes && su rnpuser -c ci/install_noncacheable_dependencies.sh
RUN export USE_STATIC_DEPENDENCIES=yes && su rnpuser -c ci/install_cacheable_dependencies.sh
RUN rm -rf /home/rnpuser/local-builds
|