From 406bdd43d106e9c5304777bae85cea239fd83051 Mon Sep 17 00:00:00 2001 From: "christian.wirth@beast-code.com" Date: Fri, 10 Jul 2020 17:07:14 +0000 Subject: [PATCH 1/4] Version 1 --- Dockerfile | 54 +++++++++++++++++++++++++++++++++++++++++ Jenkinsfile | 2 ++ LICENSE | 9 +++++++ README.md | 28 ++++++++++++++++++++- config/appsettings.json | 7 ++++++ config/config.json | 13 ++++++++++ download.json | 32 ++++++++++++++++++++++++ 7 files changed, 144 insertions(+), 1 deletion(-) create mode 100644 Dockerfile create mode 100644 Jenkinsfile create mode 100644 LICENSE create mode 100644 config/appsettings.json create mode 100644 config/config.json create mode 100644 download.json diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2959012 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,54 @@ +ARG BASE_REGISTRY=registry.access.redhat.com +ARG BASE_IMAGE=ubi8 +ARG BASE_TAG=8.2 + +FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} + +ARG VERSION=1.0.0 + +LABEL name="Beast Core" \ + maintainer="matt.stover@beast-code.com" \ + vendor="Beast Code LLC" \ + VERSION="$VERSION" \ + description="Beast Core build Image" + +ARG USERNAME=benjo +ARG GROUPNAME=benjo + +ARG UID=1000 +ARG GID=1000 + +USER root +WORKDIR / + +RUN groupadd --gid $GID $GROUPNAME && \ + useradd --uid $UID --gid $GID $USERNAME + +COPY --chown=1000:1000 LICENSE beast-core.tar.gz ./ + +COPY dumb-init /usr/local/bin/dumb-init + +RUN chmod 755 /usr/local/bin/dumb-init && \ + yum install -y libicu curl && \ + yum clean all && \ + rm -rf /var/cache/dnf && \ + tar -zxf beast-core.tar.gz && \ + chown -R $UID:$GID ./beast-core/ && \ + rm beast-core.tar.gz + +COPY --chown=1000:1000 config/appsettings.json config/config.json /beast-core/server/ + +WORKDIR /beast-core/server + +ENV WORKSPACE_PATH=/modules + +USER $UID:$GID + +EXPOSE 80 + +HEALTHCHECK --interval=12s --timeout=10s --start-period=30s \ + CMD curl --fail http://localhost/api/v1/configs/viewer-color || exit 1 + +ENTRYPOINT ["/usr/local/bin/dumb-init", "--"] + +CMD ["/beast-core/server/BCServer.Server"] \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..ad6384c --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,2 @@ +@Library('DCCSCR@master') _ +dccscrPipeline(version: "1.0.0") \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0c2ec48 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +The Beast Core application is developed by Beast Code to support the qualification and maintenance performance and logistical pipelines of military personnel, in accordance with DOD’s requirements. Beast Core currently supports several platforms, including the DDG 1000, DDG 51, Columbia and Virginia classes, Bronco II aircraft, and is in the process of being adopted by the Navy Enterprise (NAVSEA and NAVAIR). +The core functionality of Beast Core is a “digital twin”. Each twin is comprised of a 3D representation of the platform’s systems (e.g., fuel, hydraulic, electrical, etc.), linked meta-data and associated technical documentation to equipment/components, and a functional model simulating equipment behavior that look and act like the real-life platform. The application utilizes a digital twin to enhance engineers, operators, and maintainers familiarization, qualification, and operation of systems vital to the platform’s mission. The same model will support the performance of the users’ proficiency/qualification training and maintenance tasks. In addition, the linkage to internal and external metadata makes it a perfect for use as a logistical tool. +Beast Core is web-based technology that can be deployed to an existing server infrastructure and run on PCs, laptops and other assets connected to the network. The software can also operate on a tablet or mobile device (disconnected from the network) allowing users to utilize the digital twin anytime, anywhere. Additionally, Beast Core is touchscreen friendly and works with a gaming controller to enable an intuitive user interface. + +Beast Core licensing and pricing is flexible and supports various organizational requirements from a single user up to large scale enterprise deployments. Additionally, purchasing a license gives the user access to one year of software updates and tech support. +For more information on Beast Core licensing and pricing options please contact us at: +Email: info@Beast-Code.com +Phone: (850) 702-3600 +Website: https://www.beast-code.com/ \ No newline at end of file diff --git a/README.md b/README.md index 925f032..dbe9b8b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,28 @@ -# Beast Core +# Beast-Core +The Beast Core application is developed by Beast Code to support the qualification and maintenance performance and logistical pipelines of military personnel, in accordance with DOD’s requirements. Beast Core currently supports several platforms, including the DDG 1000, DDG 51, Columbia and Virginia classes, Bronco II aircraft, and is in the process of being adopted by the Navy Enterprise (NAVSEA and NAVAIR). +The core functionality of Beast Core is a “digital twin”. Each twin is comprised of a 3D representation of the platform’s systems (e.g., fuel, hydraulic, electrical, etc.), linked meta-data and associated technical documentation to equipment/components, and a functional model simulating equipment behavior that look and act like the real-life platform. The application utilizes a digital twin to enhance engineers, operators, and maintainers familiarization, qualification, and operation of systems vital to the platform’s mission. The same model will support the performance of the users’ proficiency/qualification training and maintenance tasks. In addition, the linkage to internal and external metadata makes it a perfect for use as a logistical tool. +Beast Core is web-based technology that can be deployed to an existing server infrastructure and run on PCs, laptops and other assets connected to the network. The software can also operate on a tablet or mobile device (disconnected from the network) allowing users to utilize the digital twin anytime, anywhere. Additionally, Beast Core is touchscreen friendly and works with a gaming controller to enable an intuitive user interface. + +Beast Core licensing and pricing is flexible and supports various organizational requirements from a single user up to large scale enterprise deployments. Additionally, purchasing a license gives the user access to one year of software updates and tech support. +For more information on Beast Core licensing and pricing options please contact us at: +Email: info@Beast-Code.com +Phone: (850) 702-3600 +Website: https://www.beast-code.com/ + +**Container Requirements** +--- + +**Software Requirements**: Google Chrome Web Browser + +**Memory Requirements**: The minimum memory requirement is 2GBs RAM. Recommended: 8-16GB RAM. + +**CPU Requirements**: Recommended minimum 2.4GHz Intel Core i5-6300U or equivalent. + +**Disk Requirements**: Application <100MB, Fully-Developed Digital Twin > 20GB + +**Storage volume Requirements**: Beast Core may either be bundled with a Digital Twin or can support Digital Twins hosted on volumes. The configuration is dependent upon our customer's environment and use case. + +**Other Client Hardware Requirements**: For optimal performance, it is suggested that client systems accessing Beast Core have a NVIDIA GeForce GTX 1060 video card or equivalent. + +NOTE: This Beast Core container does NOT come bundled with a Digital Twin and will not be fully functional as a standalone application. \ No newline at end of file diff --git a/config/appsettings.json b/config/appsettings.json new file mode 100644 index 0000000..1b03cba --- /dev/null +++ b/config/appsettings.json @@ -0,0 +1,7 @@ +{ + "urls": "http://*:80", + "WWWroot": "../beast-core-client", + "workspaceRoot": "/modules", + "workspace": "ssbn-826", + "deployment": "./config.json" + } \ No newline at end of file diff --git a/config/config.json b/config/config.json new file mode 100644 index 0000000..3022107 --- /dev/null +++ b/config/config.json @@ -0,0 +1,13 @@ +{ + "viewerColor": { + "r": 0, + "g": 0, + "b": 0.2 + }, + "selectionShader": { + "type": "Kerbal" + }, + "startingApp": { + "name": "3D Viewer" + } + } \ No newline at end of file diff --git a/download.json b/download.json new file mode 100644 index 0000000..e27c794 --- /dev/null +++ b/download.json @@ -0,0 +1,32 @@ +{ "resources": + [ + { + "url" : "s3://beast-code.core/beast-core.tar.gz", + "filename": "beast-core.tar.gz", + "validation": + { + "type": "sha256", + "value": "2e338758d1257b31bb04d7ad8134a1c86d7cf5ab5599fdc7cddf8473333e6983" + }, + "auth": + { + "id": "beast", + "region": "us-east-2" + } + }, + { + "url" : "s3://beast-code.core/dumb-init", + "filename": "dumb-init", + "validation": + { + "type": "sha256", + "value": "37f2c1f0372a45554f1b89924fbb134fc24c3756efaedf11e07f599494e0eff9" + }, + "auth": + { + "id": "beast", + "region": "us-east-2" + } + } + ] +} \ No newline at end of file -- GitLab From ac62c1ce1bbb2aa75d4cf833835378a3fed19143 Mon Sep 17 00:00:00 2001 From: Matthew Stover Date: Fri, 10 Jul 2020 13:46:50 -0500 Subject: [PATCH 2/4] Updated version to reflect the application version. Changed exposed port to 443 --- Dockerfile | 4 ++-- Jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2959012..bd08c2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG BASE_TAG=8.2 FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -ARG VERSION=1.0.0 +ARG VERSION=1.4.2 LABEL name="Beast Core" \ maintainer="matt.stover@beast-code.com" \ @@ -44,7 +44,7 @@ ENV WORKSPACE_PATH=/modules USER $UID:$GID -EXPOSE 80 +EXPOSE 443 HEALTHCHECK --interval=12s --timeout=10s --start-period=30s \ CMD curl --fail http://localhost/api/v1/configs/viewer-color || exit 1 diff --git a/Jenkinsfile b/Jenkinsfile index ad6384c..499fe35 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,2 +1,2 @@ @Library('DCCSCR@master') _ -dccscrPipeline(version: "1.0.0") \ No newline at end of file +dccscrPipeline(version: "1.4.2") \ No newline at end of file -- GitLab From b91c160d600d8193eab7cc6c0dbad427f1d6700f Mon Sep 17 00:00:00 2001 From: Matthew Stover Date: Mon, 13 Jul 2020 18:16:32 -0500 Subject: [PATCH 3/4] Updated port number to 1337 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bd08c2e..66aea83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ ENV WORKSPACE_PATH=/modules USER $UID:$GID -EXPOSE 443 +EXPOSE 1337 HEALTHCHECK --interval=12s --timeout=10s --start-period=30s \ CMD curl --fail http://localhost/api/v1/configs/viewer-color || exit 1 -- GitLab From 99e0ca0f870c5482fd2ff3452ea0aa41e872e884 Mon Sep 17 00:00:00 2001 From: Al Fontaine Date: Tue, 14 Jul 2020 16:21:55 +0000 Subject: [PATCH 4/4] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 66aea83..112b529 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG BASE_REGISTRY=registry.access.redhat.com -ARG BASE_IMAGE=ubi8 +ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io +ARG BASE_IMAGE=redhat/ubi/ubi8 ARG BASE_TAG=8.2 FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -- GitLab