Commit 69fa4506b1

69fa4506b10f75205779bc6dd1e689ee943c83a2

parent: 258f58a9b3

Unregistered key

cmc <hello@cleberg.net> · 2026-02-12 07:10 UTC
committer: <noreply@github.com>

clean up Dockerfile (#3)

* clean up Dockerfile

* fix pkg tags

Layout: unified · split

.github/workflows/deploy.yml +3 −3
@@ -10,7 +10,7 @@ jobs:
1010 build-job:
1111 runs-on: ubuntu-latest
1212 container:
13 image: ghcr.io/ccleberg/cleberg.net:github-actions
13 image: ghcr.io/ccleberg/cleberg.net:main
1414
1515 steps:
1616 - name: Checkout code
@@ -37,7 +37,7 @@ jobs:
3737 needs: build-job
3838 environment: production
3939 container:
40 image: ghcr.io/ccleberg/cleberg.net:github-actions
40 image: ghcr.io/ccleberg/cleberg.net:main
4141
4242 steps:
4343 - name: Checkout code
@@ -60,4 +60,4 @@ jobs:
6060 rsync -avz --delete \
6161 -e "ssh -p 2169 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" \
6262 .build/ \
63 $SERVER_USER@$SERVER_IP:/var/www/cleberg.net/
\ No newline at end of file
63 $SERVER_USER@$SERVER_IP:/var/www/cleberg.net/
Dockerfile +5 −7
@@ -13,10 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1313 openssh-client \
1414 && rm -rf /var/lib/apt/lists/*
1515
16RUN useradd -m -s /bin/bash linuxbrew && \
17 echo "linuxbrew:linuxbrew" | chpasswd && \
18 adduser linuxbrew sudo
19
16RUN useradd -m -s /bin/bash linuxbrew
2017USER linuxbrew
2118WORKDIR /home/linuxbrew
2219
@@ -25,9 +22,10 @@ RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/instal
2522RUN brew install emacs rsync uv minify
2623
2724RUN mkdir -p ~/.config/emacs/.local/straight/repos && \
28 git clone https://github.com/emacsorphanage/htmlize.git ~/.config/emacs/.local/straight/repos/htmlize && \
29 git clone https://github.com/emacs-love/templatel.git ~/.config/emacs/.local/straight/repos/templatel && \
30 git clone https://github.com/emacs-love/weblorg.git ~/.config/emacs/.local/straight/repos/weblorg
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
3129
3230USER root
3331WORKDIR /builds