refactor: rename setup script to remove rust reference

This commit is contained in:
2026-05-09 15:52:50 +00:00
parent cbff509ef3
commit 00ac231926
2 changed files with 17 additions and 2 deletions

View File

@@ -4,11 +4,11 @@ FROM alpine:latest
COPY install-apk.sh /usr/local/bin/
COPY install-rust.sh /usr/local/bin/
COPY install-cargo-tools.sh /usr/local/bin/
COPY setup-rust-dev.sh /usr/local/bin/
COPY setup-dev.sh /usr/local/bin/
# Make them executable and run the orchestrator
RUN chmod +x /usr/local/bin/*.sh && \
/usr/local/bin/setup-rust-dev.sh
/usr/local/bin/setup-dev.sh
# Set the default shell to fish (or bash)
CMD ["/usr/bin/fish"]

15
setup-dev.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -e
# Run the sub-scripts
/usr/local/bin/install-apk.sh
/usr/local/bin/install-rust.sh
/usr/local/bin/install-cargo-tools.sh
echo "Setting up dotfiles..."
mkdir -p $HOME/.config/dotfiles
if [ ! -d "$HOME/.config/dotfiles/.git" ]; then
git clone https://git.nubo.sh/hulthe/df.git $HOME/.config/dotfiles
fi
cd $HOME/.config/dotfiles
bash manager/setup.sh