-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm …
…into v6.0.1_merge_cisagov
- Loading branch information
Showing
22 changed files
with
166 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ | |
/htadmin/metadata | ||
|
||
# development | ||
.envrc | ||
.direnv | ||
.vagrant | ||
malcolm_*images.tar.gz | ||
*.iso | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.15 | ||
FROM alpine:3.16 | ||
|
||
# Copyright (c) 2020 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -73,7 +73,7 @@ RUN apk update --no-cache && \ | |
apk upgrade --no-cache && \ | ||
apk --no-cache add bash python3 py3-pip curl procps psmisc npm shadow jq && \ | ||
npm install -g http-server && \ | ||
pip3 install supervisor humanfriendly && \ | ||
pip3 install supervisor humanfriendly requests && \ | ||
curl -fsSLO "$SUPERCRONIC_URL" && \ | ||
echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - && \ | ||
chmod +x "$SUPERCRONIC" && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ ENV PGROUP "dashboarder" | |
|
||
ENV TERM xterm | ||
|
||
ARG OPENSEARCH_VERSION="1.3.1" | ||
ARG OPENSEARCH_VERSION="1.3.2" | ||
ENV OPENSEARCH_VERSION $OPENSEARCH_VERSION | ||
|
||
ARG OPENSEARCH_DASHBOARDS_VERSION="1.3.1" | ||
ARG OPENSEARCH_DASHBOARDS_VERSION="1.3.2" | ||
ENV OPENSEARCH_DASHBOARDS_VERSION $OPENSEARCH_DASHBOARDS_VERSION | ||
|
||
# base system dependencies for checking out and building plugins | ||
|
@@ -68,7 +68,7 @@ RUN eval "$(nodenv init -)" && \ | |
|
||
# runtime ################################################################## | ||
|
||
FROM opensearchproject/opensearch-dashboards:1.3.1 | ||
FROM opensearchproject/opensearch-dashboards:1.3.2 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.authors='[email protected]' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.15 | ||
FROM alpine:3.16 | ||
|
||
# Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -26,13 +26,13 @@ ENV LISTJS_VERSION v1.5.0 | |
|
||
RUN apk update --no-cache && \ | ||
apk upgrade --no-cache && \ | ||
apk --no-cache add bash php7 php7-fpm php7-mysqli php7-json php7-openssl php7-curl php7-fileinfo \ | ||
php7-zlib php7-xml php7-phar php7-intl php7-dom php7-xmlreader php7-ctype php7-session \ | ||
php7-mbstring php7-gd nginx supervisor curl inotify-tools file psmisc shadow | ||
apk --no-cache add bash php8 php8-fpm php8-mysqli php8-json php8-openssl php8-curl php8-fileinfo \ | ||
php8-zlib php8-xml php8-phar php8-intl php8-dom php8-xmlreader php8-ctype php8-session \ | ||
php8-mbstring php8-gd nginx supervisor curl inotify-tools file psmisc shadow | ||
|
||
COPY name-map-ui/config/nginx.conf /etc/nginx/nginx.conf | ||
COPY name-map-ui/config/fpm-pool.conf /etc/php7/php-fpm.d/www.conf | ||
COPY name-map-ui/config/php.ini /etc/php7/conf.d/custom.ini | ||
COPY name-map-ui/config/fpm-pool.conf /etc/php8/php-fpm.d/www.conf | ||
COPY name-map-ui/config/php.ini /etc/php8/conf.d/custom.ini | ||
COPY name-map-ui/config/supervisord.conf /etc/supervisord.conf | ||
COPY name-map-ui/config/supervisor_logstash_ctl.conf /etc/supervisor/logstash/supervisord.conf | ||
COPY name-map-ui/scripts/*.sh /usr/local/bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
# jwilder/nginx-proxy - https://github.com/jwilder/nginx-proxy/blob/master/Dockerfile.alpine | ||
|
||
#################################################################################### | ||
FROM alpine:3.15 | ||
FROM alpine:3.16 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.authors='[email protected]' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM opensearchproject/opensearch:1.3.1 | ||
FROM opensearchproject/opensearch:1.3.2 | ||
|
||
# Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved. | ||
LABEL maintainer="[email protected]" | ||
|
@@ -26,7 +26,7 @@ ENV MALCOLM_API_URL $MALCOLM_API_URL | |
|
||
ARG DISABLE_INSTALL_DEMO_CONFIG=true | ||
ENV DISABLE_INSTALL_DEMO_CONFIG $DISABLE_INSTALL_DEMO_CONFIG | ||
ENV JAVA_HOME=/usr/share/opensearch/jdk | ||
ENV OPENSEARCH_JAVA_HOME=/usr/share/opensearch/jdk | ||
|
||
USER root | ||
|
||
|
@@ -39,16 +39,19 @@ RUN yum install -y openssl util-linux procps && \ | |
/usr/share/opensearch/bin/opensearch-plugin remove opensearch-performance-analyzer --purge && \ | ||
echo -e 'cluster.name: "docker-cluster"\nnetwork.host: 0.0.0.0\ncompatibility.override_main_response_version: true\nbootstrap.memory_lock: true' > /usr/share/opensearch/config/opensearch.yml && \ | ||
sed -i "s/#[[:space:]]*\([0-9]*-[0-9]*:-XX:-\(UseConcMarkSweepGC\|UseCMSInitiatingOccupancyOnly\)\)/\1/" /usr/share/opensearch/config/jvm.options && \ | ||
sed -i "s/^[0-9][0-9]*\(-:-XX:\(+UseG1GC\|G1ReservePercent\|InitiatingHeapOccupancyPercent\)\)/$($JAVA_HOME/bin/java -version 2>&1 | grep version | awk '{print $3}' | tr -d '\"' | cut -d. -f1)\1/" /usr/share/opensearch/config/jvm.options && \ | ||
chown -R $PUSER:$PGROUP /usr/share/opensearch/config/opensearch.yml && \ | ||
sed -i "s/^\([[:space:]]*\)\(performance-analyzer-agent-cli\)/\1# \2/" /usr/share/opensearch/opensearch-docker-entrypoint.sh && \ | ||
sed -i '/[^#].*OPENSEARCH_HOME\/bin\/opensearch.*/i /usr/local/bin/jdk-cacerts-auto-import.sh || true' /usr/share/opensearch/opensearch-docker-entrypoint.sh | ||
sed -i "s/^[0-9][0-9]*\(-:-XX:\(+UseG1GC\|G1ReservePercent\|InitiatingHeapOccupancyPercent\)\)/$($OPENSEARCH_JAVA_HOME/bin/java -version 2>&1 | grep version | awk '{print $3}' | tr -d '\"' | cut -d. -f1)\1/" /usr/share/opensearch/config/jvm.options && \ | ||
mkdir -p /usr/share/opensearch/ca-trust && \ | ||
chown -R $PUSER:$PGROUP /usr/share/opensearch/config/opensearch.yml /usr/share/opensearch/ca-trust && \ | ||
sed -i "s/^\([[:space:]]*\)\([^#].*performance-analyzer-agent-cli\)/\1# \2/" /usr/share/opensearch/opensearch-docker-entrypoint.sh && \ | ||
sed -i '/^[[:space:]]*[^#].*runOpensearch.*/i /usr/local/bin/jdk-cacerts-auto-import.sh || true' /usr/share/opensearch/opensearch-docker-entrypoint.sh | ||
|
||
|
||
# just used for initial keystore creation | ||
ADD shared/bin/docker-uid-gid-setup.sh /usr/local/bin/ | ||
ADD shared/bin/jdk-cacerts-auto-import.sh /usr/local/bin/ | ||
|
||
VOLUME ["/usr/share/opensearch/ca-trust"] | ||
|
||
ENTRYPOINT ["/usr/local/bin/docker-uid-gid-setup.sh"] | ||
|
||
CMD ["/usr/share/opensearch/opensearch-docker-entrypoint.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.