16 lines
627 B
Docker
16 lines
627 B
Docker
FROM alpine:latest
|
|
# Install dependencies
|
|
RUN apk add --no-cache --update g++ zsh git ca-certificates curl openssh-client musl-dev clang lld llvm file
|
|
# Add my user
|
|
RUN adduser Entity -h /home/Entity -S --shell /bin/zsh
|
|
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 |