custom-containers/base_container/Containerfile

42 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

2023-04-28 20:17:43 -05:00
# Base development container image
# Written by Wyatt J. Miller, 2023, 2024
2023-04-28 20:17:43 -05:00
# This image is opinionated, but you're welcome to customize as much as you like
2023-04-28 12:36:38 -05:00
2024-05-05 18:56:15 -05:00
# Start with the Fedora 40 image
FROM registry.fedoraproject.org/fedora-toolbox:40
2023-04-28 20:17:43 -05:00
# Label it right, ya know?
2024-05-05 18:56:15 -05:00
ENV NAME=base_container VERSION=1.3
2023-04-28 12:36:38 -05:00
LABEL com.github.containers.toolbox="true" \
com.redhat.component="$NAME" \
name="$NAME" \
version="$VERSION" \
usage="To be built upon with custom developer images" \
summary="Wyatt's custom base image" \
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
vendor="Miller Web Solutions"
2023-04-28 12:36:38 -05:00
2023-04-28 20:17:43 -05:00
# Install base development packages
2024-04-26 12:26:52 -05:00
RUN dnf copr enable atim/starship -y -q
RUN dnf copr enable varlad/zellij -y -q
2024-07-04 18:02:24 -05:00
RUN dnf install neovim tmux git fish zsh bat exa starship zellij wget unzip ansible htop iftop fzf -y -q
RUN dnf groupinstall "C Development Tools and Libraries" -y -q
# Install atuin (magical shell history)
2024-05-05 18:56:15 -05:00
RUN curl -L https://github.com/atuinsh/atuin/releases/download/v18.2.0/atuin-v18.2.0-x86_64-unknown-linux-gnu.tar.gz --output atuin-v18.2.0-x86_64-unknown-linux-gnu.tar.gz
RUN tar xvzf atuin-v18.2.0-x86_64-unknown-linux-gnu.tar.gz
RUN cp ./atuin-v18.2.0-x86_64-unknown-linux-gnu/atuin /usr/local/bin/atuin
RUN rm -rf atuin-v18.2.0-x86_64-unknown-linux-gnu/
# Install lazygit (don't you know??)
2024-05-05 18:56:15 -05:00
RUN curl -L https://github.com/jesseduffield/lazygit/releases/download/v0.41.0/lazygit_0.41.0_Linux_x86_64.tar.gz --output lazygit_0.41.0_Linux_x86_64.tar.gz
RUN tar xvzf lazygit_0.41.0_Linux_x86_64.tar.gz
RUN cp ./lazygit /usr/local/bin/lazygit
RUN rm LICENSE README.md lazygit
2024-04-26 12:26:52 -05:00
# Install smug (a tmux manager)
RUN curl -L https://github.com/ivaaaan/smug/releases/download/v0.3.3/smug_0.3.3_Linux_x86_64.tar.gz --output smug_0.3.3_Linux_x86_64.tar.gz
RUN tar xvzf smug_0.3.3_Linux_x86_64.tar.gz
RUN cp ./smug /usr/local/bin/smug
RUN rm LICENSE README.md smug