Block a user
dev-container (v0.2.0)
Installation
docker pull gitea.setlock.net/shaun/dev-container:v0.2.0sha256:4f17d9f6eb6bc72238ff5b2304f7d774877ea75a7d8cbe94f6358b560d48ef4d
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 700667df55 | linux/amd64 | 634 MiB |
| 8605c349cb | linux/arm64 | 604 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'unstable' '@1745798400' |
| RUN /bin/sh -c apt-get update && apt-get install -y locales # buildkit |
| ENV LANG=en_US.UTF-8 |
| ENV LANGUAGE=en_US:en |
| ENV LC_ALL=en_US.UTF-8 |
| ENV TZ=America/New_York |
| ENV TERM=xterm-256color |
| RUN /bin/sh -c useradd -m -u 1000 -s /usr/bin/fish shaun # buildkit |
| RUN /bin/sh -c apt-get update && apt-get -y install curl fzf ripgrep tree git xclip python3 python3-pip python3-venv nodejs npm tzdata ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config zip unzip fish tmux # buildkit |
| RUN /bin/sh -c python3 -m pip install --break-system-packages --root-user-action ignore pynvim # buildkit |
| RUN /bin/sh -c npm i -g neovim # buildkit |
| RUN /bin/sh -c mkdir -p /tmp/neovim-src && git clone --depth 1 --branch stable https://github.com/neovim/neovim /tmp/neovim-src && cd /tmp/neovim-src && make -j$(nproc) && make install && rm -rf /tmp/neovim-src # buildkit |
| USER shaun |
| WORKDIR /home/shaun |
| RUN /bin/sh -c git clone https://gitea.setlock.net/shaun/dotfiles.git /home/shaun/dotfiles # buildkit |
| RUN /bin/sh -c mkdir -p /home/shaun/.config /home/shaun/.ssh # buildkit |
| RUN /bin/sh -c ln -s /home/shaun/dotfiles/nvim /home/shaun/.config # buildkit |
| RUN /bin/sh -c ln -s /home/shaun/dotfiles/fish /home/shaun/.config # buildkit |
| RUN /bin/sh -c ln -s /home/shaun/dotfiles/tmux /home/shaun/.config # buildkit |
| RUN /bin/sh -c git clone https://github.com/tmux-plugins/tpm /home/shaun/.config/tmux/plugins/tpm && /home/shaun/.config/tmux/plugins/tpm/scripts/install_plugins.sh # buildkit |
| RUN /bin/sh -c curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install > install # buildkit |
| RUN /bin/sh -c fish install --noninteractive # buildkit |
| RUN /bin/sh -c fish -c "omf install bobthefish" # buildkit |
| RUN /bin/sh -c nvim --headless "+Lazy! sync" +qa # buildkit |
| USER root |
| RUN /bin/sh -c usermod --shell /usr/bin/fish shaun # buildkit |
| RUN /bin/sh -c mkdir -p /workspace # buildkit |
| RUN /bin/sh -c chown -R shaun:shaun /workspace # buildkit |
| USER shaun |
| WORKDIR /home/shaun |
| CMD ["tail" "-f" "/dev/null"] |