37 lines
1.6 KiB
Docker
37 lines
1.6 KiB
Docker
# Base development container image
|
|
# 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 39 image
|
|
FROM registry.fedoraproject.org/fedora-toolbox:39
|
|
|
|
# Label it right, ya know?
|
|
ENV NAME=custom_base_image VERSION=1.1
|
|
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"
|
|
|
|
# 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
|
|
|
|
# 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
|