aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-10 12:49:06 -0600
committerChristian Cleberg <[email protected]>2026-02-10 12:49:06 -0600
commite0c7db7541d5f7a00cbfe0b2beb4282989f66a44 (patch)
tree1d459a06355ea9435013d8abce93074389c97ddc /Dockerfile
parentb417650dbea1f766322b284ed7a780cb80fe6503 (diff)
downloadcleberg.net-e0c7db7541d5f7a00cbfe0b2beb4282989f66a44.tar.gz
cleberg.net-e0c7db7541d5f7a00cbfe0b2beb4282989f66a44.tar.bz2
cleberg.net-e0c7db7541d5f7a00cbfe0b2beb4282989f66a44.zip
implement GitLab CI
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8e0b16e
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,32 @@
+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 \
+ && rm -rf /var/lib/apt/lists/*
+
+RUN useradd -m -s /bin/bash linuxbrew && \
+ echo "linuxbrew:linuxbrew" | chpasswd && \
+ adduser linuxbrew sudo
+
+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 && \
+ git clone https://github.com/emacsorphanage/htmlize.git ~/.config/emacs/.local/straight/repos/htmlize && \
+ git clone https://github.com/emacs-love/templatel.git ~/.config/emacs/.local/straight/repos/templatel && \
+ git clone https://github.com/emacs-love/weblorg.git ~/.config/emacs/.local/straight/repos/weblorg
+
+USER root
+WORKDIR /builds