-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add fedora-29 dockerfiles for buildsystem
- Loading branch information
1 parent
011c883
commit 621a441
Showing
2 changed files
with
38 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM arm32v7/fedora:29 | ||
MAINTAINER Andrew Bauer <zonexpertconsulting@outlook.com> | ||
|
||
# Fix missing locales | ||
ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" | ||
|
||
# Install base toolset | ||
RUN dnf -y group install 'Development Tools' | ||
RUN dnf -y group install 'C Development Tools and Libraries' | ||
RUN dnf -y group install 'RPM Development Tools' | ||
RUN dnf -y install fedora-packager | ||
RUN dnf -y install sudo git ccache cmake | ||
|
||
# Enable cache system-wide | ||
ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin | ||
|
||
# Enable sudo without tty | ||
RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers | ||
|
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,19 @@ | ||
FROM fedora:29 | ||
MAINTAINER Andrew Bauer <zonexpertconsulting@outlook.com> | ||
|
||
# Fix missing locales | ||
ENV LC_ALL="C.UTF-8" LANG="C.UTF-8" | ||
|
||
# Install base toolset | ||
RUN dnf -y group install 'Development Tools' | ||
RUN dnf -y group install 'C Development Tools and Libraries' | ||
RUN dnf -y group install 'RPM Development Tools' | ||
RUN dnf -y install fedora-packager | ||
RUN dnf -y install sudo git ccache cmake | ||
|
||
# Enable cache system-wide | ||
ENV PATH /usr/lib/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin | ||
|
||
# Enable sudo without tty | ||
RUN sed -i.bak -n -e '/^Defaults.*requiretty/ { s/^/# /;};/^%wheel.*ALL$/ { s/^/# / ;} ;/^#.*wheel.*NOPASSWD/ { s/^#[ ]*//;};p' /etc/sudoers | ||
|