Skip to content

Instantly share code, notes, and snippets.

@motorto
Created May 14, 2022 13:33
Show Gist options
  • Select an option

  • Save motorto/301b7710752650a94d7fa751e76a57f3 to your computer and use it in GitHub Desktop.

Select an option

Save motorto/301b7710752650a94d7fa751e76a57f3 to your computer and use it in GitHub Desktop.
Fedora docker bootstrap
# !/bin/sh
set -eux
DISTRO=fedora
VERSION=rawhide
distrobox-rm --force --name $DISTRO || true
distrobox-create --image docker.io/library/$DISTRO:$VERSION --name $DISTRO
distrobox-enter "$DISTRO" -- sudo dnf -y update
# Install stuff that I need for daily work
distrobox-enter "$DISTRO" -- sudo dnf -y install dnf-plugins-core
distrobox-enter "$DISTRO" -- sudo dnf -y install dnf-plugins-core
distrobox-enter "$DISTRO" -- sudo dnf copr enable -y agriffis/neovim-nightly
distrobox-enter "$DISTRO" -- sudo dnf -y install glibc-all-langpacks
distrobox-enter "$DISTRO" -- sudo dnf -y install make automake gcc gcc-c++
# Text Editor
distrobox-enter "$DISTRO" -- sudo dnf -y install neovim ripgrep
distrobox-enter "$DISTRO" -- sudo dnf -y install pinentry-gnome3 git
#LATEX
distrobox-enter "$DISTRO" -- sudo dnf -y install texlive-scheme-basic texlive-collection-langportuguese
distrobox-enter "$DISTRO" -- sudo dnf -y install pandoc
#PROLOG
distrobox-enter "$DISTRO" -- sudo dnf -y install gprolog
#MAD
distrobox-enter "$DISTRO" -- sudo dnf -y install glpk-utils
# PTASC
distrobox-enter "$DISTRO" -- sudo dnf -y install maven golang nodejs
distrobox-enter "$DISTRO" -- sudo dnf clean packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment