Added registry and arch VMS based on it

2 VM one CPU and one GPU
Also have a simple UI for the registry
Added readTimeout because big layers take too long to transfert
This commit is contained in:
2025-06-30 21:15:46 +00:00
parent 7ff800f97c
commit 3ccda644e2
5 changed files with 96 additions and 19 deletions
+43
View File
@@ -0,0 +1,43 @@
FROM archlinux:latest
# Update system and install essential packages
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
base-devel \
git \
wget \
vim \
nvim \
nano \
lazygit \
ttyd \
sudo \
which \
net-tools \
iputils \
bind-tools \
unzip \
yazi \
go \
zig \
ripgrep \
openssh && \
pacman -Scc --noconfirm
# Create a workspace directory
RUN mkdir -p /data
# Install Astronvim
RUN git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim && \
rm -rf ~/.config/nvim/.git
# Setup Git
RUN git config --global user.email "git@bouvais.lu"
RUN git config --global user.name "adrien"
# Add Gopls
RUN go install golang.org/x/tools/gopls@latest
WORKDIR /data
EXPOSE 7681