Merge pull request 'Updated base container' (#1) from wm/base-container-updates into master

Reviewed-on: #1
This commit is contained in:
Wyatt J. Miller 2024-03-05 23:18:26 -06:00
commit 36aea4fb0c

View File

@ -1,12 +1,12 @@
# Base development container image
# Written by Wyatt J. Miller, 2023
# Written by Wyatt J. Miller, 2023, 2024
# This image is opinionated, but you're welcome to customize as much as you like
# Start with the Fedora 38 image
FROM registry.fedoraproject.org/fedora-toolbox:38
# Start with the Fedora 39 image
FROM registry.fedoraproject.org/fedora-toolbox:39
# Label it right, ya know?
ENV NAME=custom_base_image VERSION=1.0
ENV NAME=custom_base_image VERSION=1.1
LABEL com.github.containers.toolbox="true" \
com.redhat.component="$NAME" \
name="$NAME" \
@ -18,5 +18,18 @@ LABEL com.github.containers.toolbox="true" \
# Install base development packages
RUN dnf install neovim tmux git fish zsh bat exa -y -q
RUN dnf groupinstall "C Development Tools and Libraries" -y -q
RUN dnf groupinstall "System Tools" -y -q
RUN dnf clean all
# Install starship prompt (to the moon!)
RUN curl -sS https://starship.rs/install.sh | sh -s -- -y
# Install atuin (magical shell history)
RUN curl -L https://github.com/atuinsh/atuin/releases/download/v18.0.2/atuin-v18.0.2-x86_64-unknown-linux-gnu.tar.gz --output atuin-v18.0.2-x86_64-unknown-linux-gnu.tar.gz
RUN tar xvzf atuin-v18.0.2-x86_64-unknown-linux-gnu.tar.gz
RUN cp ./atuin-v18.0.2-x86_64-unknown-linux-gnu/atuin /usr/local/bin/atuin
RUN rm -rf atuin-v18.0.2-x86_64-unknown-linux-gnu/
# Install lazygit (don't you know??)
RUN curl -L https://github.com/jesseduffield/lazygit/releases/download/v0.40.2/lazygit_0.40.2_Linux_x86_64.tar.gz --output lazygit_0.40.2_Linux_x86_64.tar.gz
RUN tar xvzf lazygit_0.40.2_Linux_x86_64.tar.gz
RUN cp ./lazygit /usr/local/bin/lazygit
RUN rm LICENSE README.md lazygit