-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathminicon.bashcbuild
21 lines (20 loc) · 1.02 KB
/
minicon.bashcbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PACKAGE=minicon
VERSION=1.4-2
SUMMARY="MiniCon - Minimization of Container Filesystems"
LICENSE="Apache 2.0"
URL="https://github.com/grycap/minicon"
DESCRIPTION="MiniCon - Minimization of Container Filesystems
**minicon** aims at reducing the footprint of the filesystem for arbitrary
the container, just adding those files that are needed. That means that the
other files in the original container are removed.
**minidock** is a helper to use minicon for Docker containers."
PACKAGER="Carlos de Alfonso <caralla@upv.es>"
# DEPENDS is for DEB packages
DEPENDS="bash, jq, tar, libc-bin, coreutils, tar, rsync, file, strace"
# REQUIRES is for RPM packages
REQUIRES="bash, jq, tar, coreutils, tar, rsync, file, strace, glibc-common, which"
/usr/share/$PACKAGE/;src/version:LICENSE
/usr/share/$PACKAGE/doc;doc/*.md
;doc/man/*.1;gzip -fk ${FILEPATH}
/usr/share/man/man1;doc/man/*.gz
/usr/bin/;src/minicon:src/minidock:src/importcon:src/mergecon;bashc -o $SOURCEFOLDER/$FILEPATH -cCR $SOURCEFOLDER/${FILEPATH}.bashc;chmod +x $SOURCEFOLDER/$FILEPATH