UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
tchiotludo
akhq
Commits
836f6faa
Commit
836f6faa
authored
Feb 03, 2021
by
Jinoy Parekh
💾
Browse files
Updated Dfile & hardening_manifest.yaml
parent
bfc3399f
Pipeline
#158102
passed with stages
in 12 minutes and 58 seconds
Changes
4
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
23 deletions
+49
-23
Dockerfile
Dockerfile
+3
-10
hardening_manifest.yaml
hardening_manifest.yaml
+4
-11
renovate.json
renovate.json
+41
-0
scripts/akhq
scripts/akhq
+1
-2
No files found.
Dockerfile
View file @
836f6faa
...
@@ -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
...
...
hardening_manifest.yaml
View file @
836f6faa
...
@@ -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"
renovate.json
0 → 100644
View file @
836f6faa
{
"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"
}
]
}
scripts/akhq
View file @
836f6faa
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment