mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 01:38:14 -04:00

* chore: add devcontainer for Anubis Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): ensure user can write to $HOME Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): forward ports, add launch config Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): add playwright deps Signed-off-by: Xe Iaso <me@xeiaso.net> * docs: document devcontainer usage Signed-off-by: Xe Iaso <me@xeiaso.net> * chore: spelling Signed-off-by: Xe Iaso <me@xeiaso.net> * ci(devcontainer): fix action references Signed-off-by: Xe Iaso <me@xeiaso.net> * chore(devcontainer): fix ko on arm64 Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
12 lines
410 B
Docker
12 lines
410 B
Docker
FROM ghcr.io/xe/devcontainer-base/pre/go
|
|
|
|
WORKDIR /app
|
|
|
|
COPY go.mod go.sum package.json package-lock.json ./
|
|
RUN go install github.com/a-h/templ/cmd/templ \
|
|
&& npx --yes playwright@1.52.0 install --with-deps\
|
|
&& apt-get update \
|
|
&& apt-get -y install zstd brotli \
|
|
&& mkdir -p /home/vscode/.local/share/fish \
|
|
&& chown -R vscode:vscode /home/vscode/.local/share/fish \
|
|
&& chown -R vscode:vscode /go |