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
apache
activemq
Commits
f9c02565
You need to sign in or sign up before continuing.
Commit
f9c02565
authored
Dec 11, 2020
by
bhearn
Browse files
update activemq
parent
030b0cde
Pipeline
#101409
passed with stage
in 6 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
26 deletions
+24
-26
Dockerfile
Dockerfile
+10
-9
README.md
README.md
+1
-4
deployment/activemq-deployment.yaml
deployment/activemq-deployment.yaml
+1
-1
hardening_manifest.yaml
hardening_manifest.yaml
+12
-12
No files found.
Dockerfile
View file @
f9c02565
...
...
@@ -4,18 +4,19 @@ ARG BASE_TAG=1.13.0
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
COPY
apache-activemq-bin.tar.gz /
COPY
apache-activemq-5.16.0-bin.tar.gz /
# root user is needed to extract files from the ActiveMQ gzip
USER
root
RUN
dnf update
-y
&&
\
tar
-zxf
apache-activemq-5.16.0-bin.tar.gz
&&
\
rm
apache-activemq-5.16.0-bin.tar.gz
&&
\
chmod
755 apache-activemq-5.16.0/bin/activemq
&&
\
RUN
dnf upgrade
-y
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf
&&
\
mkdir
-p
apache-activemq
&&
\
tar
-zxf
apache-activemq-bin.tar.gz
--strip-components
=
1
-C
apache-activemq
&&
\
rm
apache-activemq-bin.tar.gz
&&
\
chmod
755 apache-activemq/bin/activemq
&&
\
useradd
-r
activemq
--uid
=
1000
&&
\
chown
-R
activemq:activemq apache-activemq
-5.16.0
chown
-R
activemq:activemq apache-activemq
USER
activemq
...
...
@@ -23,4 +24,4 @@ EXPOSE 8161 61616 5672 61613 1833
HEALTHCHECK
CMD curl localhost:8161
CMD
["apache-activemq-5.16.0/bin/activemq", " start"]
\ No newline at end of file
CMD
["apache-activemq/bin/activemq", " start"]
\ No newline at end of file
README.md
View file @
f9c02565
...
...
@@ -3,13 +3,11 @@
# ActiveMQ
Version: 5.15.13
Apache ActiveMQ is an open source, multi-protocol, Java-based messaging server.
## Download from Iron Bank
1.
Go to the
[
Apache webpage
](
https://ironbank.dso
p.io
/ironbank/repomap/opensource/apache
)
in Iron Bank and download the latest ActiveMQ tarball.
1.
Go to the
[
Apache webpage
](
https://ironbank.dso
.mil
/ironbank/repomap/opensource/apache
)
in Iron Bank and download the latest ActiveMQ tarball.
2.
Navigate to the location of the download and run:
```
...
...
@@ -53,5 +51,4 @@ You should now be able to navigate to the ActiveMQ dashboard URL and login using
## Notes
-
root user is needed to extract files from the ActiveMQ gzip
-
exposed ports: 8161, 61616, 5672, 61613, and 1833
\ No newline at end of file
deployment/activemq-deployment.yaml
View file @
f9c02565
...
...
@@ -27,7 +27,7 @@ spec:
cpu
:
400m
volumeMounts
:
-
name
:
active-creds
mountPath
:
/apache-activemq
-5.15.13
/conf/jetty-realm.properties
# jetty-realm.properties MUST be configured with proper values first in order to deploy
mountPath
:
/apache-activemq/conf/jetty-realm.properties
# jetty-realm.properties MUST be configured with proper values first in order to deploy
subPath
:
jetty-realm.properties
volumes
:
-
name
:
active-creds
...
...
hardening_manifest.yaml
View file @
f9c02565
...
...
@@ -20,24 +20,24 @@ args:
labels
:
org.opencontainers.image.title
:
"
activemq"
## Human-readable description of the software packaged in the image
#
org.opencontainers.image.description: "
FIXME
"
org.opencontainers.image.description
:
"
Apache
ActiveMQ
is
an
open
source,
multi-protocol,
Java-based
messaging
server.
"
## License(s) under which contained software is distributed
#
org.opencontainers.image.licenses: "
FIXME
"
org.opencontainers.image.licenses
:
"
Apache
"
## URL to find more information on the image
#
org.opencontainers.image.url: "
FIXME
"
org.opencontainers.image.url
:
"
http://activemq.apache.org/components/classic/
"
## Name of the distributing entity, organization or individual
#
org.opencontainers.image.vendor: "
FIXME
"
org.opencontainers.image.vendor
:
"
Apache
"
org.opencontainers.image.version
:
"
5.16.0"
## Keywords to help with search (ex. "cicd,gitops,golang")
# mil.dso.ironbank.image.keywords: "FIXME"
## This value can be "opensource" or "commercial"
#
mil.dso.ironbank.image.type: "
FIXME
"
mil.dso.ironbank.image.type
:
"
opensource
"
## Product the image belongs to for grouping multiple images
#
mil.dso.ironbank.product.name: "
FIXME
"
mil.dso.ironbank.product.name
:
"
opensource/apache
"
# List of resources to make available to the offline build context
resources
:
-
filename
:
apache-activemq-
5.16.0-
bin.tar.gz
-
filename
:
apache-activemq-bin.tar.gz
url
:
https://downloads.apache.org/activemq/5.16.0/apache-activemq-5.16.0-bin.tar.gz
validation
:
type
:
sha512
...
...
@@ -48,11 +48,11 @@ resources:
# FIXME: Include any other vendor information if applicable
maintainers
:
-
email
:
"
bhearn@anchore.com"
#
# The name of the current container owner
#
name: "
FIXME
"
#
# The gitlab username of the current container owner
#
username: "
FIXME
"
#
cht_member: true # FIXME: Uncomment if the maintainer is a member of CHT
# The name of the current container owner
name
:
"
Blake
Hearn
"
# The gitlab username of the current container owner
username
:
"
bhearn
"
cht_member
:
true
# FIXME: Uncomment if the maintainer is a member of CHT
# - name: "FIXME"
# username: "FIXME"
# email: "FIXME"
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