forked from hadolint/hadolint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
107 lines (107 loc) · 2.34 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: hadolint
version: "2.4.0"
synopsis: Dockerfile Linter JavaScript API
description: A smarter Dockerfile linter that helps you build best practice Docker images.
category: Development
author: Lukas Martinelli
maintainer: [email protected]
copyright: Lukas Martinelli
license: GPL-3
homepage: https://github.com/hadolint/hadolint
git: [email protected]:hadolint/hadolint.git
extra-source-files: README.md
flags:
static:
description: Use static linking for the hadolint executable
default: true
manual: true
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -optP-Wno-nonportable-include-path
- -flate-dmd-anal
dependencies:
- base >=4.8 && <5
- megaparsec >= 9.0.0
- language-docker >=10.0.0 && <11
default-extensions:
- OverloadedStrings
- NamedFieldPuns
- DeriveGeneric
- DeriveAnyClass
- RecordWildCards
- StrictData
- ScopedTypeVariables
- PatternSynonyms
library:
source-dirs: src
generated-other-modules:
- Paths_hadolint
dependencies:
- &ShellCheck ShellCheck >=0.7.1
- &bytestring bytestring >=0.10
- &split split >=0.2
- Cabal
- HsYAML
- aeson
- bytestring
- colourista
- containers
- cryptonite
- deepseq == 1.4.4.*
- directory >= 1.3.0
- filepath
- ilist
- mtl
- network-uri
- parsec >= 3.1.14
- parallel
- semver
- spdx
- text
- time
- timerep >= 2.0
- void
- foldl
- email-validate
executables:
hadolint:
main: Main.hs
source-dirs: app
dependencies:
- hadolint
- optparse-applicative >= 0.14.0
- gitrev >=1.3.1
- text
- containers
ghc-options: -O2 -threaded -rtsopts "-with-rtsopts=-N5 -A4m"
default-extensions:
- TemplateHaskell
when:
# OS X does not support static build https://developer.apple.com/library/content/qa/qa1118
- condition: "flag(static) && !(os(osx))"
ld-options:
- -static
- -pthread
tests:
hadolint-unit-tests:
main: Spec.hs
source-dirs: test
default-extensions:
- ImplicitParams
- OverloadedLists
dependencies:
- *bytestring
- *split
- *ShellCheck
- aeson
- text
- HUnit >=1.2
- hspec
- hadolint
- HsYAML
- foldl
- containers