Compare commits

..

No commits in common. "fret_only" and "master" have entirely different histories.

3 changed files with 20 additions and 29 deletions

View file

@ -28,10 +28,16 @@ RUN apt install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force
RUN rm /tmp/apt.list RUN rm /tmp/apt.list
# Shell # Shell
RUN chsh -s /usr/bin/zsh root 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 # FRET packages
COPY ./fret.list /tmp/apt.list 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 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 RUN rm /tmp/apt.list
# Nix
RUN nix profile install nixpkgs\#chromium
# Add user dev # Add user dev
RUN useradd -d /root -g root dev RUN useradd -d /root -g root dev
RUN chmod g+w /root RUN chmod g+w /root

View file

@ -1,29 +0,0 @@
# 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:fret
```
## create the contaienr
Point WORKDIR to whererver your repos are.
Point FRETHOME to some other directory, which can serve as the home directory inside the container.
Make sure to initialize an ssh config under $FRETHOME
```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:fret
```
## start and enter the container
```sh
# start
podman start fretpod
# enter using ssh
ssh -p 2222 root@127.0.0.1
# or enter directly using podman
podman exec -it fretpod zsh
```
## (optinal) auto-start the container
```sh
podman generate systemd fretpod > ~/.config/systemd/user/fretpod.service
systemctl --user daemon-reload
systemctl --user enable --now fretpod
```

14
tex.list Normal file
View file

@ -0,0 +1,14 @@
# 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