Fettling.
This commit is contained in:
parent
b226bf7fe9
commit
7dd1713eee
3 changed files with 14 additions and 4 deletions
4
.github/workflows/dynamodb.yml
vendored
4
.github/workflows/dynamodb.yml
vendored
|
@ -19,11 +19,11 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
dynamodb-build:
|
||||
name: "Build"
|
||||
name: "Build DynamoDB"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
|
||||
|
|
|
@ -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,12 @@
|
|||
# checkov:skip=CKV_DOCKER_3 We're not adding a user
|
||||
# checkov:skip=CKV_DOCKER_7 We're just following latest.
|
||||
FROM amazon/dynamodb-local
|
||||
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-dynamodb" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker-dynamodb"
|
||||
|
||||
HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \
|
||||
CMD curl --silent --output /dev/null http://localhost:8000/shell/
|
||||
|
||||
CMD ["-jar", "/home/dynamodblocal/DynamoDBLocal.jar", "-inMemory"]
|
||||
|
|
Loading…
Reference in a new issue