UNCLASSIFIED

Commit 836f6faa authored by Jinoy Parekh's avatar Jinoy Parekh 💾
Browse files

Updated Dfile & hardening_manifest.yaml

parent bfc3399f
Pipeline #158102 passed with stages
in 12 minutes and 58 seconds
...@@ -6,22 +6,15 @@ FROM tchiotludo/akhq:0.16.0 as base ...@@ -6,22 +6,15 @@ FROM tchiotludo/akhq:0.16.0 as base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ENV LANG=C.UTF-8
USER 0 USER 0
WORKDIR /app WORKDIR /app
COPY --from=base /app/akhq.jar /app/akhq.jar COPY --from=base /app/akhq.jar .
COPY config/application.yml /app/application.yml
COPY scripts/akhq /app/akhq
COPY scripts/jvm.options /app/jvm.options COPY config/* .
COPY scripts/entrypoint.sh /app/entrypoint.sh COPY scripts/* .
ENV MICRONAUT_CONFIG_FILES=/app/application.yml ENV MICRONAUT_CONFIG_FILES=/app/application.yml
......
...@@ -29,7 +29,7 @@ labels: ...@@ -29,7 +29,7 @@ labels:
org.opencontainers.image.vendor: "opensource" org.opencontainers.image.vendor: "opensource"
org.opencontainers.image.version: "0.16.0" org.opencontainers.image.version: "0.16.0"
## Keywords to help with search (ex. "cicd,gitops,golang") ## Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords: "kafka-dashboard" mil.dso.ironbank.image.keywords: "kafka-dashboard,dataflow,processing"
## This value can be "opensource" or "commercial" ## This value can be "opensource" or "commercial"
mil.dso.ironbank.image.type: "opensource" mil.dso.ironbank.image.type: "opensource"
## Product the image belongs to for grouping multiple images ## Product the image belongs to for grouping multiple images
...@@ -41,15 +41,8 @@ resources: ...@@ -41,15 +41,8 @@ resources:
url: docker://docker.io/tchiotludo/akhq@sha256:44e00630f95b0a42c716f635b94cd53a7185aa6626502839f8afa8d8b35bf576 url: docker://docker.io/tchiotludo/akhq@sha256:44e00630f95b0a42c716f635b94cd53a7185aa6626502839f8afa8d8b35bf576
# List of project maintainers # List of project maintainers
# FIXME: Fill in the following details for the current container owner in the whitelist
# FIXME: Include any other vendor information if applicable
maintainers: maintainers:
- email: "jparekh@vivsoft.io" - name: "Jinoy Parekh"
# # The name of the current container owner
name: "Jinoy Parekh"
# # The gitlab username of the current container owner
username: "jparekh" username: "jparekh"
cht_member: true # FIXME: Uncomment if the maintainer is a member of CHT email: "jparekh@vivsoft.io"
# - name: "FIXME" cht_member: true
# username: "FIXME"
# email: "FIXME"
{
"assignees": [
"@jparekh"
],
"baseBranches": [
"development"
],
"regexManagers": [
{
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"version=\"(?<currentValue>.*?)\""
],
"depNameTemplate": "kafka-dashboard",
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"org\\.opencontainers\\.image\\.version:\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "kafka-dashboard",
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"tags:\\s+-\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "kafka-dashboard",
"datasourceTemplate": "docker"
}
]
}
#!/usr/bin/env sh #!/usr/bin/env sh
# Read user-defined JVM options from jvm.options file # Read user-defined JVM options from jvm.options file
JVM_HOME="/usr/lib/jvm/java-11-openjdk-11.0.9.11-2.el8_3.x86_64/bin/java"
JVM_OPTS_FILE=${JVM_OPTS_FILE:-/app/jvm.options} JVM_OPTS_FILE=${JVM_OPTS_FILE:-/app/jvm.options}
for JVM_OPT in `grep "^-" ${JVM_OPTS_FILE}` for JVM_OPT in `grep "^-" ${JVM_OPTS_FILE}`
do do
JAVA_OPTS="${JAVA_OPTS} ${JVM_OPT}" JAVA_OPTS="${JAVA_OPTS} ${JVM_OPT}"
done done
${JVM_HOME} ${JAVA_OPTS} -jar /app/akhq.jar java ${JAVA_OPTS} -jar /app/akhq.jar
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment