diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/docker-bench-security |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/docker-bench-security')
4 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/docker-bench-security/Manifest b/app-emulation/docker-bench-security/Manifest new file mode 100644 index 000000000000..0feff0255c64 --- /dev/null +++ b/app-emulation/docker-bench-security/Manifest @@ -0,0 +1,4 @@ +AUX docker-bench-security 174 SHA256 eaffde5a1e9e205cc0923795d99d031dac688bad14a1955833746d87cea7e803 SHA512 b8701d2084660f2d60fd33e3bbe7947f1ec2e37516afe668c8b4f483b250dadd1517c541830ce30587baf0a1cfcf6e2ca4393e0572a223cccd12b935e43d3a59 WHIRLPOOL d0454507c223814f3a0e5b3134e43b3091321ecbff2051afb2435f36fd4e58c59d59eb0703887e171a1feb6139f5e4a2a45ce413e11f80fe70b0540eb3efb843 +DIST docker-bench-security-1.3.2.tar.gz 414608 SHA256 9054a7f48b6519aa618df64bf09429e6178ae4a7199164cb4db7b95f05e8df19 SHA512 7d271167584ff99fdaff15b1d303f1cedeb5888057437cc3bfae8260aff96f98d8a0173c4d4e5718bf8ee4e0ffe3ae0280f0026cf386ae32c38e8302159a2226 WHIRLPOOL 923ca76221cb1056daaa32e7d98326548fa6107a10b0325ad99687fad87df2b1fafde44c218459c2f33825f58e69ee36de62107765f0fd5f83c4e58348dcf24c +EBUILD docker-bench-security-1.3.2.ebuild 668 SHA256 3bcb3505edcde7a338e83a6cd6f8856bc6393e38ac34855de475b9f5777a54e0 SHA512 fb65eca8b06ba2f89c9d0986399c0d12a14a22957c41cf48a1c5deb7746981407a74b1c00675d4b5379c8cfa5544464d09035c739003bc21a0d7e969902e2421 WHIRLPOOL 9f3638d938debef9d841d0185a51fd765d7ce3ccd2d1e2881fb234f39ad7c0bef0724e8f7e33e3b525ca704d6cab01b18f8310ef11179a0b3e6726e5afd8b480 +MISC metadata.xml 441 SHA256 24efe2fcfb803af6f90aafd1aa001e57f569d0ef7f90534cc5888e94e62023c6 SHA512 608fe54f06d9bdb6ac5e563de54f5c4eb4af1eb5973bce41e2fb64242c92cfa8173fa8615536794154cc6dbfb654e2bf9c38bec73a05c4126d3a2fa671822715 WHIRLPOOL 829a8bf08b05d096341bc38b546cfd2d4649693db02e4582a36863c25f0470990950e7db997544038cda270b9cf3034bf2e8cdde45004c3e1e9ee587e2d7c20f diff --git a/app-emulation/docker-bench-security/docker-bench-security-1.3.2.ebuild b/app-emulation/docker-bench-security/docker-bench-security-1.3.2.ebuild new file mode 100644 index 000000000000..6e423e8ccc19 --- /dev/null +++ b/app-emulation/docker-bench-security/docker-bench-security-1.3.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Test for best practices around deploying docker containers" +HOMEPAGE="https://github.com/docker/docker-bench-security" +SRC_URI="https://github.com/docker/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=app-emulation/docker-1.10" + +src_install() { +dobin "${FILESDIR}/docker-bench-security" +exeinto /usr/lib/${PN} +doexe ${PN}.sh +insinto /usr/lib/${PN} +doins -r *lib.sh tests + dodoc -r benchmark_log.png CONTRIBUTING.md distros docker-compose.yml \ + Dockerfile MAINTAINERS README.md +} diff --git a/app-emulation/docker-bench-security/files/docker-bench-security b/app-emulation/docker-bench-security/files/docker-bench-security new file mode 100644 index 000000000000..3a79d1b3af4d --- /dev/null +++ b/app-emulation/docker-bench-security/files/docker-bench-security @@ -0,0 +1,7 @@ +#!/bin/sh +if [ $(id -u) -ne 0 ]; then + printf "%s\n" "This script must be run as root." + exit 1 +fi +cd "$(dirname $0)/../lib/docker-bench-security" +./docker-bench-security.sh diff --git a/app-emulation/docker-bench-security/metadata.xml b/app-emulation/docker-bench-security/metadata.xml new file mode 100644 index 000000000000..eb6d1553ceb4 --- /dev/null +++ b/app-emulation/docker-bench-security/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + The Docker Bench for Security is a script that checks for dozens of + common best-practices around deploying Docker containers in production. + </longdescription> +</pkgmetadata> |