-
Notifications
You must be signed in to change notification settings - Fork 15
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 #80 from Achiefs/79-xenial-support
Include Ubuntu Xenial support and CentOS 7 package build test
- Loading branch information
Showing
7 changed files
with
62 additions
and
4 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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ Source: fim | |
Section: admin | ||
Priority: optional | ||
Maintainer: Jose Fernandez <[email protected]> | ||
Build-Depends: debhelper (>=10), dh-systemd | ||
Build-Depends: debhelper (>=9), dh-systemd | ||
Standards-Version: 4.0.0 | ||
Homepage: https://github.com/Achiefs/fim | ||
|
||
|
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,10 @@ | ||
FROM ubuntu:xenial | ||
|
||
RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \ | ||
sed -i 's|deb http://security|#deb http://security|g' /etc/apt/sources.list && \ | ||
apt update && \ | ||
apt install -y curl devscripts equivs tar gcc gzip pkg-config git | ||
|
||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
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,12 @@ | ||
#!/bin/bash | ||
|
||
ref=$1 | ||
|
||
mkdir -p /tmp/output | ||
mkdir -p /tmp/repo | ||
cd /tmp/repo | ||
git clone https://github.com/Achiefs/fim.git -b ${ref} --depth=1 | ||
cd fim/pkg/deb | ||
./builder.sh | ||
cp fim_*.deb /tmp/output/ | ||
chown 1000:1000 /tmp/output/* |
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,8 @@ | ||
FROM centos:7 | ||
|
||
RUN yum update -y && \ | ||
yum install -y rpm-build tar gcc git | ||
|
||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] |
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,12 @@ | ||
#!/bin/bash | ||
|
||
ref=$1 | ||
|
||
mkdir -p /tmp/output | ||
mkdir -p /tmp/repo | ||
cd /tmp/repo | ||
git clone https://github.com/Achiefs/fim.git -b ${ref} --depth=1 | ||
cd fim/pkg/rpm | ||
./builder.sh | ||
cp fim-*.rpm /tmp/output/ | ||
chown 1000:1000 /tmp/output/* |