dev-env/Dockerfile

38 lines
750 B
Docker

FROM alpine:edge
# Install base dependencies and build tools
RUN apk add --no-cache \
btop \
tcpdump \
dust \
fd \
ripgrep \
fish \
zellij \
helix \
curl \
wget \
tar \
zstd \
jq \
lazygit \
k9s \
git
RUN apk add --no-cache cargo bash; \
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash; \
cargo binstall --strategies crate-meta-data jj-cli; \
cargo binstall lazyjj; \
apk del cargo bash;
COPY setup_langs /root/setup_langs
COPY .config /root/.config
ENV TERM="xterm-256color"
ENV COLORTERM="truecolor"
# Set the entrypoint to fish
WORKDIR /root/
ENTRYPOINT ["fish"]