UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

BB Base refactor

Merged Micah Nagel requested to merge 22-big-bang-base-image-refactor into development
4 files
+ 11
152
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 0
63
@@ -4,7 +4,6 @@ ARG BASE_TAG=8.6
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
RUN dnf upgrade -y && \
dnf install -y curl jq gnutls pinentry && \
dnf clean all && \
@@ -21,68 +20,6 @@ COPY yq /usr/local/bin/
RUN chmod +x /usr/local/bin/yq && \
chown root:root /usr/local/bin/yq
# Install mkcert
COPY mkcert /usr/local/bin/
RUN chmod +x /usr/local/bin/mkcert && \
chown root:root /usr/local/bin/mkcert
# Install SOPS
COPY sops /usr/local/bin/
RUN chmod +x /usr/local/bin/sops && \
chown root:root /usr/local/bin/sops
# Install SopsSecretGenerator
COPY SopsSecretGenerator /usr/local/bin/
RUN chmod +x /usr/local/bin/SopsSecretGenerator && \
chown root:root /usr/local/bin/SopsSecretGenerator
# Install ArgoCD CLI
COPY argocd /usr/local/bin/
RUN chmod +x /usr/local/bin/argocd && \
chown root:root /usr/local/bin/argocd
# Install Stern
COPY stern.tar.gz /tmp/buildfiles/
RUN tar xzf /tmp/buildfiles/stern.tar.gz -C /tmp/buildfiles/ && \
mv /tmp/buildfiles/stern /usr/local/bin/ && \
chmod +x /usr/local/bin/stern && \
chown root:root /usr/local/bin/stern
# Install fluxcd
COPY flux.tar.gz /tmp/buildfiles/
RUN tar xzf /tmp/buildfiles/flux.tar.gz -C /tmp/buildfiles/ && \
mv /tmp/buildfiles/flux /usr/local/bin/ && \
chmod +x /usr/local/bin/flux && \
chown root:root /usr/local/bin/flux
# Install Istio
COPY istioctl.tar.gz /tmp/buildfiles/
RUN tar xzf /tmp/buildfiles/istioctl.tar.gz -C /tmp/buildfiles/ && \
mv /tmp/buildfiles/istioctl /usr/local/bin/ && \
chmod +x /usr/local/bin/istioctl && \
chown root:root /usr/local/bin/istioctl
# Install k9s
COPY k9s.tar.gz /tmp/buildfiles/
RUN tar xzvf /tmp/buildfiles/k9s.tar.gz -C /tmp/buildfiles/ && \
mv /tmp/buildfiles/k9s /usr/local/bin/k9s && \
chmod +x /usr/local/bin/k9s && \
chown root:root /usr/local/bin/k9s
# Install helm
COPY helm.tar.gz /tmp/buildfiles/
RUN tar xzvf /tmp/buildfiles/helm.tar.gz -C /tmp/buildfiles/ && \
mv /tmp/buildfiles/linux-amd64/helm /usr/local/bin/helm && \
chmod +x /usr/local/bin/helm && \
chown root:root /usr/local/bin/helm
# Install kustomize
COPY kustomize.tar.gz /tmp/buildfiles/
RUN tar xzvf /tmp/buildfiles/kustomize.tar.gz -C /tmp/buildfiles/ && \
mv /tmp/buildfiles/kustomize /usr/local/bin/kustomize && \
chmod +x /usr/local/bin/kustomize && \
chown root:root /usr/local/bin/kustomize
# Clean Up
RUN rm -rf /tmp/buildfiles
Loading