aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-12 01:10:22 -0600
committerGitHub <[email protected]>2026-02-12 01:10:22 -0600
commit69fa4506b10f75205779bc6dd1e689ee943c83a2 (patch)
treef162f2e8f8ffbd619cf4eb1b15bf52b28adcd6c2 /Dockerfile
parent258f58a9b334eda782f4ea279638af27e39ffea9 (diff)
downloadcleberg.net-69fa4506b10f75205779bc6dd1e689ee943c83a2.tar.gz
cleberg.net-69fa4506b10f75205779bc6dd1e689ee943c83a2.tar.bz2
cleberg.net-69fa4506b10f75205779bc6dd1e689ee943c83a2.zip
clean up Dockerfile (#3)
* clean up Dockerfile * fix pkg tags
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile
index ea5a0ff..de87df9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,10 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
openssh-client \
&& rm -rf /var/lib/apt/lists/*
-RUN useradd -m -s /bin/bash linuxbrew && \
- echo "linuxbrew:linuxbrew" | chpasswd && \
- adduser linuxbrew sudo
-
+RUN useradd -m -s /bin/bash linuxbrew
USER linuxbrew
WORKDIR /home/linuxbrew
@@ -25,9 +22,10 @@ RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/instal
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
+ 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