FROM alpine:latest # Install dependencies RUN apk add --no-cache --update git ca-certificates curl openssh-client # Add my user RUN adduser Entity -h /home/Entity -S RUN addgroup Entity RUN adduser Entity Entity # Switch to my user USER Entity # Install Rust RUN curl https://sh.rustup.rs -sSf | sh -s -- -y # Configure git to use my name, email and signing keys RUN git config --global user.name Entity RUN git config --global user.email entity@runeterra.be RUN git config --global gpg.format ssh RUN git config --global user.signingkey /home/Entity/.ssh/git.runeterra.be