Sign inSign up

aborsatto/megabash

By aborsatto

Updated 10 days ago

Image
1

1.4K

aborsatto/megabash repository overview

megabash megabash:

Created using the fedora:43 image as base image.

Now with Powershell 7.6.3, Ansible, Helm, K8S and more!

All the files used in this image can be downloaded from this repo: https://github.com/borsatto/megabash

Dokerfile
FROM fedora:43
LABEL maintainer="borsatto at mail dot com"

USER root
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN echo 'root:megabash123!' | chpasswd

RUN dnf install -y wget && \
    wget https://rpm.releases.hashicorp.com/fedora/hashicorp.repo -O /etc/yum.repos.d/hashicorp.repo && \
    cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.35/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.35/rpm/repodata/repomd.xml.key
EOF

RUN dnf update -y && \
    dnf copr enable -y alternateved/eza && \
    dnf install -y \
        ncurses wget curl libicu gnupg2 openssh-clients unzip git \
        iputils bind-utils busybox mtr nmap-ncat iperf3 \
        jq yq fzf eza ansible \
        htop btop \
        terraform \
        kubectl \
        helm \
        https://github.com/PowerShell/PowerShell/releases/download/v7.6.3/powershell-7.6.3-1.rh.x86_64.rpm && \
    dnf clean all && \
    pwsh -Command "Install-Module -Name VMware.PowerCLI, Az, AWS.Tools.Installer, GoogleCloud, OCI.PSModules -Force -Scope CurrentUser" && \
    pwsh -Command "Install-AWSToolsModule AWS.Tools.CloudFormation, AWS.Tools.CloudWatch, AWS.Tools.DynamoDBv2, AWS.Tools.EC2, AWS.Tools.EKS, AWS.Tools.IdentityManagement, AWS.Tools.Lambda, AWS.Tools.RDS, AWS.Tools.S3, AWS.Tools.SecretsManager, AWS.Tools.SQS, AWS.Tools.Common -Force" && \
    wget -qO- https://starship.rs/install.sh | sh -s -- -y && \
    mkdir -p /root/.config/powershell/ /usr/local/share/fonts && \
    wget -q --progress=dot:mega https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip && \
    unzip Hack.zip -d /usr/local/share/fonts && \
    rm Hack.zip

Tag summary

Content type

Image

Digest

sha256:a9ea726dd

Size

773.2 MB

Last updated

10 days ago

docker pull aborsatto/megabash