Skip to content

Commit

Permalink
Merge pull request #15 from grycap/tobashc
Browse files Browse the repository at this point in the history
porting the code to bashc
  • Loading branch information
dealfonso authored May 8, 2019
2 parents fba5425 + 1efd896 commit 45dbd11
Show file tree
Hide file tree
Showing 20 changed files with 260 additions and 3,670 deletions.
411 changes: 0 additions & 411 deletions importcon

This file was deleted.

435 changes: 0 additions & 435 deletions mergecon

This file was deleted.

1,279 changes: 0 additions & 1,279 deletions minicon

This file was deleted.

23 changes: 23 additions & 0 deletions minicon.bashcbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
PACKAGE=minicon
VERSION=1.4
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
/usr/share/man/man1;$TMPDIR/importcon.1.gz;cp doc/man/importcon.1 $TMPDIR;gzip $TMPDIR/importcon.1
/usr/share/man/man1;$TMPDIR/minicon.1.gz;cp doc/man/minicon.1 $TMPDIR;gzip $TMPDIR/minicon.1
/usr/share/man/man1;$TMPDIR/mergecon.1.gz;cp doc/man/mergecon.1 $TMPDIR;gzip $TMPDIR/mergecon.1
/usr/share/man/man1;$TMPDIR/minidock.1.gz;cp doc/man/minidock.1 $TMPDIR;gzip $TMPDIR/minidock.1
/usr/bin/;src/minicon:src/minidock:src/importcon:src/mergecon;bashc -o $SOURCEFOLDER/$FILEPATH -cCSR $SOURCEFOLDER/${FILEPATH}.bashc;chmod +x $SOURCEFOLDER/$FILEPATH
Loading

0 comments on commit 45dbd11

Please sign in to comment.