File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed
Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ jobs:
1818 matrix :
1919 dist :
2020 - {
21- name : fedora-39 ,
21+ name : fedora-40 ,
2222 os : fedora,
23- symbol : 39 ,
23+ symbol : 40 ,
2424 platforms : " linux/amd64,linux/arm64"
2525 }
2626 - {
27- name : fedora-40 ,
27+ name : fedora-41 ,
2828 os : fedora,
29- symbol : 40 ,
29+ symbol : 41 ,
3030 platforms : " linux/amd64,linux/arm64"
3131 }
3232 # - {
Original file line number Diff line number Diff line change 1+ FROM --platform=$TARGETPLATFORM fedora:41
2+ LABEL maintainer="flameshot-org developers <info@flameshot.org>"
3+
4+ # Fix missing locales
5+ ENV LC_ALL="C.UTF-8" \
6+ LANG="C.UTF-8"
7+
8+ # Update repositories and installed packages to avoid issues from:
9+ # https://github.com/tarantool/tarantool-qa/issues/60
10+ RUN dnf upgrade --refresh -y && \
11+ # Install base toolset, dnf5: https://discussion.fedoraproject.org/t/unable-to-find-development-tools-in-fedora-41/135154
12+ dnf -y install @development-tools \
13+ @c-development \
14+ @rpm-development-tools \
15+ && \
16+ dnf -y install \
17+ fedora-packager \
18+ sudo \
19+ git \
20+ ccache \
21+ cmake && \
22+ # Cleanup DNF metadata and decrease image size
23+ dnf clean all
24+
25+ # Enable cache system-wide
26+ ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
27+
28+ # Enable sudo without tty
29+ RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers
File renamed without changes.
You can’t perform that action at this time.
0 commit comments