UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit c98230b4 authored by Al Fontaine's avatar Al Fontaine
Browse files

Merge branch 'initial-hardening' into 'development'

initial hardening

See merge request !16
parents 14620d7b 0450ba88
No related branches found
No related tags found
2 merge requests!17Development,!16initial hardening
Pipeline #383665 passed with warnings
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8-minimal
ARG BASE_TAG=8.4
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ARG DEFAULTUID=1001
ARG DEFAULTGID=1001
COPY rda-converter.zip /tmp
RUN microdnf install -y unzip shadow-utils && \
groupadd -g ${DEFAULTGID} -r default && \
useradd -u ${DEFAULTUID} -r -g default default && \
unzip /tmp/rda-converter.zip -d /usr/local/bin && \
microdnf remove -y unzip shadow-utils && \
microdnf clean all && \
rm -rf /var/cache/yum /var/tmp/* /tmp/* /var/tmp/.???* /tmp/.???*
USER ${DEFAULTUID}
ENTRYPOINT ["/usr/local/bin/rda-converter"]
\ No newline at end of file
Data Rights and Intellectual Property Rights in accordance with the rights
described in DFARS 252.227-7013 [Rights in Technical Data—Noncommercial Items
(Nov 1995), DFARS 252.227-7014 [Rights in Noncommercial Computer Software and
Noncommercial Computer Software Documentation (June 1995)] and DFARS
252.227-7015 [Rights in Technical Data – Noncommercial Items (Nov. 1995)]
\ No newline at end of file
# <application name>
# RDA Converter
Project template for all Iron Bank container repositories.
\ No newline at end of file
A tool to convert an [RDA](https://devforce.disa.mil/secure/docs/latest/developers-guide/deployment/) into one or more [Helm](https://helm.sh/) [Charts](https://helm.sh/docs/glossary/#chart) and container image files (i.e. Dockerfile).
This container is leveraged by the RDA Deployer and should not generally be used directly. For further information, see the [rda-converter](https://gitlab.eitccorp.com/up/software/rda/rda-converter) project.
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "bdp/rda/converter"
# List of tags to push for the repository in registry1
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags:
- "0.4.0"
- "latest"
# Build args passed to Dockerfile ARGs
args:
BASE_IMAGE: "redhat/ubi/ubi8-minimal"
BASE_TAG: "8.4"
# Docker image labels
labels:
org.opencontainers.image.title: "converter"
## Human-readable description of the software packaged in the image
org.opencontainers.image.description: "A container image that includes the rda-converter application."
## License(s) under which contained software is distributed
org.opencontainers.image.licenses: "proprietary"
## URL to find more information on the image
org.opencontainers.image.url: "https://repo1.dso.mil/dsop/bdp/rda/converter"
## Name of the distributing entity, organization or individual
org.opencontainers.image.vendor: "BDP"
org.opencontainers.image.version: "0.4.0"
## Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords: "rda,bdp,updn,k8s,converter"
## This value can be "opensource" or "commercial"
mil.dso.ironbank.image.type: "commercial"
## Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name: "BDP RDA"
resources:
- url: "https://nexus.eitccorp.com/repository/releases/bdp/rda/rda-converter/0.4.0/rda-converter-0.4.0.zip"
filename: "rda-converter.zip"
auth:
type: "basic"
id: "eitc"
validation:
type: "sha256"
value: "ac022dc107e1ebb2fe6fb3aa2a7646d16348c33ac90e812dd2f74c444057675b"
# List of project maintainers
maintainers:
- email: "lstigdon@eitccorp.com"
name: "Luke Stigdon"
username: "lstigdon"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment