aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-13 15:57:28 -0500
committerChristian Cleberg <[email protected]>2026-03-13 15:57:28 -0500
commit22a0559513aa492ef391079a3e71173d35500cfc (patch)
tree253948148875ffc322d381c0a882b30e9c5b4141
parent11a5ca2792cd0debb6b8f510ffd716e6f734dbd6 (diff)
downloadcleberg.net-22a0559513aa492ef391079a3e71173d35500cfc.tar.gz
cleberg.net-22a0559513aa492ef391079a3e71173d35500cfc.tar.bz2
cleberg.net-22a0559513aa492ef391079a3e71173d35500cfc.zip
add Dockerfile back in
-rw-r--r--Dockerfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..de87df9
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,31 @@
+FROM python:3.12-slim
+
+ENV DEBIAN_FRONTEND=noninteractive \
+ HOMEBREW_NO_AUTO_UPDATE=1 \
+ PATH="/home/linuxbrew/.linuxbrew/bin:${PATH}"
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ curl \
+ git \
+ procps \
+ build-essential \
+ ca-certificates \
+ openssh-client \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN useradd -m -s /bin/bash linuxbrew
+USER linuxbrew
+WORKDIR /home/linuxbrew
+
+RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+
+RUN brew install emacs rsync uv minify
+
+RUN mkdir -p ~/.config/emacs/.local/straight/repos && \
+ cd ~/.config/emacs/.local/straight/repos && \
+ git clone --depth 1 https://github.com/emacsorphanage/htmlize.git && \
+ git clone --depth 1 https://github.com/emacs-love/templatel.git && \
+ git clone --depth 1 https://github.com/emacs-love/weblorg.git
+
+USER root
+WORKDIR /builds