Skip to content

Commit

Permalink
add search enterprise all-in-one context
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Oct 3, 2024
1 parent 31b1f33 commit a2b3f5b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions search/enterprise/all-in-one/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM java_base

Check warning on line 1 in search/enterprise/all-in-one/Dockerfile

View workflow job for this annotation

GitHub Actions / kics

[HIGH] Missing User Instruction

A user should be specified in the dockerfile, otherwise the image will run as root

ARG LIVEINDEXING
ENV PORT=8080
EXPOSE 8080

ADD ${LIVEINDEXING}*-app.jar /opt/app.jar

HEALTHCHECK --interval=30s --timeout=3s --retries=3 --start-period=1m \
CMD curl -f http://localhost:8080/actuator/health || exit 1

COPY entrypoint.sh /entrypoint.sh
CMD ["/entrypoint.sh"]
14 changes: 14 additions & 0 deletions search/enterprise/all-in-one/artifacts.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"artifacts": {
"acs23": [
{
"name": "alfresco-elasticsearch-live-indexing",
"version": "4.0.1",
"path": "search/enterprise/all-in-one",
"classifier": "-app.jar",
"repository": "enterprise-releases",
"group": "org.alfresco"
}
]
}
}
3 changes: 3 additions & 0 deletions search/enterprise/all-in-one/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

exec java $JAVA_OPTS -jar /opt/app.jar

0 comments on commit a2b3f5b

Please sign in to comment.