fret only

This commit is contained in:
Alwin Berger 2025-11-03 13:32:09 +01:00
parent 78c51aedf2
commit af0090a860
3 changed files with 19 additions and 20 deletions

View file

@ -28,16 +28,10 @@ RUN apt install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force
RUN rm /tmp/apt.list
# Shell
RUN chsh -s /usr/bin/zsh root
# Latex packages
COPY ./tex.list /tmp/apt.list
RUN apt install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y $(grep -vE "^\s*#" /tmp/apt.list | tr "\n" " ")
RUN rm /tmp/apt.list
# FRET packages
COPY ./fret.list /tmp/apt.list
RUN apt install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y $(grep -vE "^\s*#" /tmp/apt.list | tr "\n" " ")
RUN rm /tmp/apt.list
# Nix
RUN nix profile install nixpkgs\#chromium
# Add user dev
RUN useradd -d /root -g root dev
RUN chmod g+w /root

19
README.md Normal file
View file

@ -0,0 +1,19 @@
# FRET Development Environment
## pull / build the image
```sh
podman build -t git.berger.ruhr/alwin/dev-pod .
# or
podman pull git.berger.ruhr/alwin/dev-pod:latest
```
## create the contaienr
Point WORKDIR to whererver your repos are.
Point FRETHOME to some other directory, which can cuntions as the home directory inside the container.
```sh
podman create --name fretpod -p 2222:22 -v basestore:/nix/store -v $FRETHOME:/root -v $WORKDIR:/root/WORK git.berger.ruhr/alwin/dev-pod:latest
```
## (optinal) auto-start the container
```sh
podman generate systemd basepod > ~/.config/systemd/user/basepod.service
systemctl --user daemon-reload
systemctl --user enable --now basepod
```

View file

@ -1,14 +0,0 @@
# latex
texlive-lang-english
texlive-lang-german
texlive-latex-extra
texlive-science
texlive-xetex
texlive-fonts-extra
texlive-bibtex-extra
#texlive-full
biber
latexmk
psutils
pandoc
pdftk-java