mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-01-02 19:21:12 -05:00
Merge pull request #960 from veggiemonk/netlify-plugins
This commit is contained in:
commit
6592eb1de2
33
.eslintrc.js
33
.eslintrc.js
@ -1,33 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
env: {
|
|
||||||
browser: true,
|
|
||||||
node: true,
|
|
||||||
},
|
|
||||||
extends: [
|
|
||||||
'airbnb-base',
|
|
||||||
'plugin:import/errors',
|
|
||||||
'plugin:import/warnings',
|
|
||||||
'prettier',
|
|
||||||
'eslint:recommended',
|
|
||||||
],
|
|
||||||
plugins: ['import', 'prettier'],
|
|
||||||
rules: {
|
|
||||||
camelcase: 0,
|
|
||||||
'import/order': [
|
|
||||||
'error',
|
|
||||||
{
|
|
||||||
groups: ['builtin', 'external', 'parent', 'sibling', 'index'],
|
|
||||||
'newlines-between': 'never',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
'no-console': 0,
|
|
||||||
'prefer-template': 2,
|
|
||||||
'prettier/prettier': [
|
|
||||||
'error',
|
|
||||||
{
|
|
||||||
singleQuote: true,
|
|
||||||
trailingComma: 'all',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
};
|
|
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"bracketSpacing": true,
|
|
||||||
"tabWidth": 4,
|
|
||||||
"semi": true,
|
|
||||||
"trailingComma": "all",
|
|
||||||
"singleQuote": true
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
language: node_js
|
|
||||||
cache: npm
|
|
@ -306,7 +306,6 @@ _Source:_ [What is Docker](https://www.docker.com/why-docker)
|
|||||||
- [KICS](https://github.com/checkmarx/kics) - an infrastructure-as-code scanning tool, find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development cycle. Can be extended for additional policies. By [Checkmarx](https://github.com/Checkmarx)
|
- [KICS](https://github.com/checkmarx/kics) - an infrastructure-as-code scanning tool, find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development cycle. Can be extended for additional policies. By [Checkmarx](https://github.com/Checkmarx)
|
||||||
- [notary](https://github.com/theupdateframework/notary) - a server and a client for running and interacting with trusted collections. By [@TUF](https://github.com/theupdateframework)
|
- [notary](https://github.com/theupdateframework/notary) - a server and a client for running and interacting with trusted collections. By [@TUF](https://github.com/theupdateframework)
|
||||||
- [oscap-docker](https://github.com/OpenSCAP/openscap) - OpenSCAP provides oscap-docker tool which is used to scan Docker containers and images. By [OpenSCAP](https://github.com/OpenSCAP)
|
- [oscap-docker](https://github.com/OpenSCAP/openscap) - OpenSCAP provides oscap-docker tool which is used to scan Docker containers and images. By [OpenSCAP](https://github.com/OpenSCAP)
|
||||||
- [Phonito Security](https://phonito.io/?b=b) :heavy_dollar_sign: - a Docker vulnerability scanner with constant Kubernetes monitoring and pipeline integration.
|
|
||||||
- [Prisma Cloud](https://www.paloaltonetworks.com/prisma/cloud) :heavy_dollar_sign: - (previously Twistlock Security Suite) detects vulnerabilities, hardens container images, and enforces security policies across the lifecycle of applications.
|
- [Prisma Cloud](https://www.paloaltonetworks.com/prisma/cloud) :heavy_dollar_sign: - (previously Twistlock Security Suite) detects vulnerabilities, hardens container images, and enforces security policies across the lifecycle of applications.
|
||||||
- [Sysdig Falco](https://github.com/falcosecurity/falco) - Sysdig Falco is an open source container security monitor. It can monitor application, container, host, and network activity and alert on unauthorized activity.
|
- [Sysdig Falco](https://github.com/falcosecurity/falco) - Sysdig Falco is an open source container security monitor. It can monitor application, container, host, and network activity and alert on unauthorized activity.
|
||||||
- [Sysdig Secure](https://sysdig.com/products/secure/runtime-security/) :heavy_dollar_sign: - Sysdig Secure addresses run-time security through behavioral monitoring and defense, and provides deep forensics based on open source Sysdig for incident response.
|
- [Sysdig Secure](https://sysdig.com/products/secure/runtime-security/) :heavy_dollar_sign: - Sysdig Secure addresses run-time security through behavioral monitoring and defense, and provides deep forensics based on open source Sysdig for incident response.
|
||||||
@ -362,7 +361,7 @@ Native desktop applications for managing and montoring docker hosts and clusters
|
|||||||
- [ctop (1)](https://github.com/yadutaf/ctop) - A command line / text based Linux Containers monitoring tool that works just like you expect (Python) by [@yadutaf](https://github.com/yadutaf)
|
- [ctop (1)](https://github.com/yadutaf/ctop) - A command line / text based Linux Containers monitoring tool that works just like you expect (Python) by [@yadutaf](https://github.com/yadutaf)
|
||||||
- [ctop (2)](https://github.com/bcicen/ctop) - Top-like interface for container metrics (Golang) by [@bcicen](https://github.com/bcicen/)
|
- [ctop (2)](https://github.com/bcicen/ctop) - Top-like interface for container metrics (Golang) by [@bcicen](https://github.com/bcicen/)
|
||||||
- [dive](https://github.com/wagoodman/dive) - A tool for exploring each layer in a docker image. By [wagoodman](https://github.com/wagoodman).
|
- [dive](https://github.com/wagoodman/dive) - A tool for exploring each layer in a docker image. By [wagoodman](https://github.com/wagoodman).
|
||||||
- [dockdash](https://github.com/byrnedo/dockdash) detailed stats. By [@byrnedo]
|
- [dockdash](https://github.com/byrnedo/dockdash) detailed stats. By [@byrnedo]
|
||||||
- [Docker-mon](https://github.com/icecrime/docker-mon) :skull: - Console-based Docker monitoring by [@icecrime](https://github.com/icecrime)
|
- [Docker-mon](https://github.com/icecrime/docker-mon) :skull: - Console-based Docker monitoring by [@icecrime](https://github.com/icecrime)
|
||||||
- [dockly](https://github.com/lirantal/dockly) - An interactive shell UI for managing Docker containers by [@lirantal](https://github.com/lirantal)
|
- [dockly](https://github.com/lirantal/dockly) - An interactive shell UI for managing Docker containers by [@lirantal](https://github.com/lirantal)
|
||||||
- [DockSTARTer](https://github.com/GhostWriters/DockSTARTer) - DockSTARTer helps you get started with home server apps running in Docker by [GhostWriters](https://github.com/GhostWriters)
|
- [DockSTARTer](https://github.com/GhostWriters/DockSTARTer) - DockSTARTer helps you get started with home server apps running in Docker by [GhostWriters](https://github.com/GhostWriters)
|
||||||
@ -828,7 +827,7 @@ Services to securely store your Docker images.
|
|||||||
## Contributor over time
|
## Contributor over time
|
||||||
|
|
||||||
[![Contributor over time](https://contributor-graph-api.apiseven.com/contributors-svg?chart=contributorOverTime&repo=veggiemonk/awesome-docker)](https://www.apiseven.com/en/contributor-graph?chart=contributorOverTime&repo=veggiemonk/awesome-docker)
|
[![Contributor over time](https://contributor-graph-api.apiseven.com/contributors-svg?chart=contributorOverTime&repo=veggiemonk/awesome-docker)](https://www.apiseven.com/en/contributor-graph?chart=contributorOverTime&repo=veggiemonk/awesome-docker)
|
||||||
|
|
||||||
|
|
||||||
[contributing]: https://github.com/veggiemonk/awesome-docker/blob/master/.github/CONTRIBUTING.md
|
[contributing]: https://github.com/veggiemonk/awesome-docker/blob/master/.github/CONTRIBUTING.md
|
||||||
[calico]: https://github.com/projectcalico/calicoctl
|
[calico]: https://github.com/projectcalico/calicoctl
|
||||||
|
38
build.js
38
build.js
@ -1,8 +1,6 @@
|
|||||||
const fs = require('fs-extra');
|
const fs = require('fs-extra');
|
||||||
const cheerio = require('cheerio');
|
const cheerio = require('cheerio');
|
||||||
const showdown = require('showdown');
|
const showdown = require('showdown');
|
||||||
const Parcel = require('parcel-bundler');
|
|
||||||
const { SitemapStream, streamToPromise } = require('sitemap');
|
|
||||||
|
|
||||||
process.env.NODE_ENV = 'production';
|
process.env.NODE_ENV = 'production';
|
||||||
|
|
||||||
@ -46,44 +44,8 @@ async function processIndex() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const bundle = () => {
|
|
||||||
LOG.debug('---');
|
|
||||||
LOG.debug('📦 Bundling with Parcel.js');
|
|
||||||
LOG.debug('---');
|
|
||||||
|
|
||||||
new Parcel(indexDestination, {
|
|
||||||
name: 'build',
|
|
||||||
publicURL: '/',
|
|
||||||
})
|
|
||||||
.bundle()
|
|
||||||
.then(() => {
|
|
||||||
const smStream = new SitemapStream({
|
|
||||||
hostname: 'https://awesome-docker.netlify.com/',
|
|
||||||
});
|
|
||||||
smStream.write({
|
|
||||||
url: '/',
|
|
||||||
changefreq: 'daily',
|
|
||||||
priority: 0.8,
|
|
||||||
lastmodrealtime: true,
|
|
||||||
lastmodfile: 'dist/index.html',
|
|
||||||
});
|
|
||||||
|
|
||||||
smStream.end();
|
|
||||||
return streamToPromise(smStream);
|
|
||||||
})
|
|
||||||
.then((sm) =>
|
|
||||||
// Creates a sitemap object given the input configuration with URLs
|
|
||||||
fs.outputFile(
|
|
||||||
'dist/sitemap.xml',
|
|
||||||
// sm.createSitemap(sitemapOpts).toString(),
|
|
||||||
sm.toString(),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
await processIndex();
|
await processIndex();
|
||||||
await bundle();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
8283
package-lock.json
generated
8283
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
27
package.json
27
package.json
@ -5,8 +5,8 @@
|
|||||||
"main": "build.js",
|
"main": "build.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rimraf ./dist/ && node build.js",
|
"build": "rimraf ./dist/ && node build.js",
|
||||||
"test-pr": "node tests/pull_request.js",
|
"test-pr": "node tests/pull_request.mjs",
|
||||||
"test": "node tests/test_all.js"
|
"test": "node tests/test_all.mjs"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -19,24 +19,11 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/veggiemonk/awesome-docker#readme",
|
"homepage": "https://github.com/veggiemonk/awesome-docker#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cheerio": "1.0.0-rc.3",
|
"cheerio": "1.0.0-rc.10",
|
||||||
"draftlog": "1.0.12",
|
"draftlog": "1.0.13",
|
||||||
"fs-extra": "9.0.1",
|
"fs-extra": "10.0.0",
|
||||||
"node-fetch": "2.6.1",
|
"node-fetch": "3.0.0",
|
||||||
"parcel-bundler": "1.12.4",
|
|
||||||
"rimraf": "3.0.2",
|
"rimraf": "3.0.2",
|
||||||
"showdown": "1.9.1",
|
"showdown": "^1.9.0"
|
||||||
"sitemap": "6.3.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"babel-eslint": "10.1.0",
|
|
||||||
"eslint": "7.10.0",
|
|
||||||
"eslint-config-airbnb-base": "14.2.0",
|
|
||||||
"eslint-config-prettier": "6.12.0",
|
|
||||||
"eslint-plugin-import": "2.22.1",
|
|
||||||
"eslint-plugin-jsx-a11y": "6.3.1",
|
|
||||||
"eslint-plugin-prettier": "3.1.4",
|
|
||||||
"minimist": "1.2.5",
|
|
||||||
"prettier": "2.1.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const fetch = require('node-fetch');
|
import fetch from 'node-fetch';
|
||||||
const exclude = require('./exclude_in_test.json');
|
import {readFileSync} from 'fs';
|
||||||
|
|
||||||
const LINKS_OPTIONS = {
|
const LINKS_OPTIONS = {
|
||||||
redirect: 'error',
|
redirect: 'error',
|
||||||
@ -78,6 +78,8 @@ async function batch_fetch({ arr, get, post_filter_func, BATCH_SIZE = 8 }) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const data = readFileSync('./tests/exclude_in_test.json')
|
||||||
|
const exclude = JSON.parse(data)
|
||||||
const exclude_length = exclude.length;
|
const exclude_length = exclude.length;
|
||||||
const exclude_from_list = (link) => {
|
const exclude_from_list = (link) => {
|
||||||
let is_excluded = false;
|
let is_excluded = false;
|
||||||
@ -90,7 +92,7 @@ const exclude_from_list = (link) => {
|
|||||||
return is_excluded;
|
return is_excluded;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
export default {
|
||||||
LOG,
|
LOG,
|
||||||
handleFailure,
|
handleFailure,
|
||||||
extract_all_links,
|
extract_all_links,
|
@ -4,5 +4,7 @@
|
|||||||
"https://github.com/apps/",
|
"https://github.com/apps/",
|
||||||
"https://cycle.io/",
|
"https://cycle.io/",
|
||||||
"https://www.manning.com/",
|
"https://www.manning.com/",
|
||||||
"https://deepfence.io"
|
"https://deepfence.io",
|
||||||
|
"https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg",
|
||||||
|
"https://www.se-radio.net/2017/05/se-radio-episode-290-diogo-monica-on-docker-security"
|
||||||
]
|
]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const fs = require('fs-extra');
|
import fs from 'fs-extra';
|
||||||
const helper = require('./common');
|
import helper from './common.mjs';
|
||||||
|
|
||||||
console.log({
|
console.log({
|
||||||
DEBUG: process.env.DEBUG || false,
|
DEBUG: process.env.DEBUG || false,
|
@ -1,6 +1,6 @@
|
|||||||
const fs = require('fs-extra');
|
import fs from 'fs-extra';
|
||||||
const fetch = require('node-fetch');
|
import fetch from 'node-fetch';
|
||||||
const helper = require('./common');
|
import helper from './common.mjs';
|
||||||
|
|
||||||
function envvar_undefined(variable_name) {
|
function envvar_undefined(variable_name) {
|
||||||
throw new Error(`${variable_name} must be defined`);
|
throw new Error(`${variable_name} must be defined`);
|
Loading…
Reference in New Issue
Block a user