refactor: rename setup script to remove rust reference
This commit is contained in:
@@ -4,11 +4,11 @@ FROM alpine:latest
|
|||||||
COPY install-apk.sh /usr/local/bin/
|
COPY install-apk.sh /usr/local/bin/
|
||||||
COPY install-rust.sh /usr/local/bin/
|
COPY install-rust.sh /usr/local/bin/
|
||||||
COPY install-cargo-tools.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
|
# Make them executable and run the orchestrator
|
||||||
RUN chmod +x /usr/local/bin/*.sh && \
|
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)
|
# Set the default shell to fish (or bash)
|
||||||
CMD ["/usr/bin/fish"]
|
CMD ["/usr/bin/fish"]
|
||||||
|
|||||||
15
setup-dev.sh
Executable file
15
setup-dev.sh
Executable 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
|
||||||
Reference in New Issue
Block a user