diff --git a/README.md b/README.md index 7793f78..1bada73 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # Alpine-Config -Quick configuration for Alpine Linux. Setting up docker & community repository. \ No newline at end of file +Quick configuration for Alpine Linux. Setting up docker & community repository. + +--- + +```bash +# Install Curl +doas apk update +doas apk add curl + +# Download & Run Script +curl https://git.merlinslair.net/beech/Alpine-Config/raw/branch/main/setup.sh -o setup.sh +chmod +x setup.sh +sh setup.sh +``` \ No newline at end of file diff --git a/setup.sh b/setup.sh index e21f3ce..0910fc4 100644 --- a/setup.sh +++ b/setup.sh @@ -1,9 +1,11 @@ #!/usr/bin/env bash echo "Enabling Community Repository..." +echo "Enter Root Password." su -c 'echo "http://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories' echo "Enabled. Updating & Installing Docker" +echo "Enter User Password." doas apk update doas apk add docker doas apk add docker-cli-compose