-
-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1828 from mavlink/fedora-36
Add Fedora 36 to CI
- Loading branch information
Showing
3 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# | ||
# Development environment for the MAVSDK based on Fedora 36. | ||
# | ||
# Author: Julian Oes <julian@oes.ch> | ||
# | ||
|
||
FROM fedora:36 | ||
|
||
MAINTAINER Julian Oes <julian@oes.ch> | ||
|
||
RUN dnf -y install \ | ||
autoconf \ | ||
automake \ | ||
ccache \ | ||
clang \ | ||
cmake \ | ||
colordiff \ | ||
doxygen \ | ||
gcc \ | ||
gcc-c++ \ | ||
git \ | ||
golang \ | ||
libcurl-devel \ | ||
libtool \ | ||
make \ | ||
ninja-build \ | ||
perl-FindBin \ | ||
python \ | ||
python-future \ | ||
redhat-rpm-config \ | ||
rpm-build \ | ||
ruby-devel \ | ||
rubygems \ | ||
sudo \ | ||
tinyxml2-devel \ | ||
wget \ | ||
which \ | ||
zlib-devel \ | ||
&& dnf clean all | ||
|
||
RUN gem install --no-document fpm; | ||
|
||
RUN wget -qO- https://github.com/ncopa/su-exec/archive/dddd1567b7c76365e1e0aac561287975020a8fad.tar.gz | tar xvz && \ | ||
cd su-exec-* && make && mv su-exec /usr/local/bin && cd .. && rm -rf su-exec-* | ||
|
||
# Create user with id 1001 (Jenkins docker workflow default) | ||
RUN useradd --shell /bin/bash -u 1001 -c "" -m user | ||
|
||
ADD /sudoers.txt /etc/sudoers | ||
RUN chmod 440 /etc/sudoers | ||
|
||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] | ||
|
||
WORKDIR "/home/user/MAVSDK" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters