Fettling.
This commit is contained in:
parent
07936b2231
commit
fbe428e230
3 changed files with 8 additions and 3 deletions
2
.github/workflows/mongodb.yml
vendored
2
.github/workflows/mongodb.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: mongodb
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@ runtimes:
|
|||
- python@3.10.8
|
||||
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
|
||||
lint:
|
||||
disabled:
|
||||
- trufflehog # Trufflehog duplicates gitleaks functionality.
|
||||
- terrascan
|
||||
- trivy
|
||||
enabled:
|
||||
- gitleaks@8.18.2
|
||||
- markdownlint@0.40.0
|
||||
|
@ -25,8 +29,6 @@ lint:
|
|||
- checkov@3.2.92
|
||||
- git-diff-check
|
||||
- prettier@3.2.5
|
||||
- trivy@0.51.1
|
||||
- trufflehog@3.76.2
|
||||
- yamllint@1.35.1
|
||||
definitions:
|
||||
- name: markdownlint
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
FROM mongo:7.0
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-mongodb" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker-mongodb"
|
||||
HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \
|
||||
CMD echo 'db.stats().ok' | mongosh --norc --quiet --host=localhost:27017
|
||||
COPY mongo-init.js /docker-entrypoint-initdb.d/
|
||||
|
|
Loading…
Reference in a new issue