Commit 22a0559513
Verified · cmc
Layout: unified · split
Dockerfile added +31
| @@ -0,0 +1,31 @@ | |||
| 1 | FROM python:3.12-slim | ||
| 2 | |||
| 3 | ENV DEBIAN_FRONTEND=noninteractive \ | ||
| 4 | HOMEBREW_NO_AUTO_UPDATE=1 \ | ||
| 5 | PATH="/home/linuxbrew/.linuxbrew/bin:${PATH}" | ||
| 6 | |||
| 7 | RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
| 8 | curl \ | ||
| 9 | git \ | ||
| 10 | procps \ | ||
| 11 | build-essential \ | ||
| 12 | ca-certificates \ | ||
| 13 | openssh-client \ | ||
| 14 | && rm -rf /var/lib/apt/lists/* | ||
| 15 | |||
| 16 | RUN useradd -m -s /bin/bash linuxbrew | ||
| 17 | USER linuxbrew | ||
| 18 | WORKDIR /home/linuxbrew | ||
| 19 | |||
| 20 | RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
| 21 | |||
| 22 | RUN brew install emacs rsync uv minify | ||
| 23 | |||
| 24 | RUN mkdir -p ~/.config/emacs/.local/straight/repos && \ | ||
| 25 | cd ~/.config/emacs/.local/straight/repos && \ | ||
| 26 | git clone --depth 1 https://github.com/emacsorphanage/htmlize.git && \ | ||
| 27 | git clone --depth 1 https://github.com/emacs-love/templatel.git && \ | ||
| 28 | git clone --depth 1 https://github.com/emacs-love/weblorg.git | ||
| 29 | |||
| 30 | USER root | ||
| 31 | WORKDIR /builds | ||