40 lines
No EOL
940 B
Docker
40 lines
No EOL
940 B
Docker
# FROM mcr.microsoft.com/devcontainers/base:alpine
|
|
FROM alpine:3.20.3
|
|
LABEL org.opencontainers.image.source https://git.lio.cat/l/emphemeral
|
|
LABEL org.opencontainers.image.title Emphemeral
|
|
LABEL org.opencontainers.image.description "Intended to be used within Dev Containers, contains everything I might need when coding"
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
# QoL
|
|
git \
|
|
openrc \
|
|
zsh \
|
|
curl \
|
|
bat \
|
|
exa \
|
|
rsync \
|
|
shadow \
|
|
neofetch \
|
|
# JS
|
|
npm \
|
|
yarn \
|
|
deno
|
|
# Pyro
|
|
# rust \
|
|
# cargo \
|
|
# go
|
|
RUN npm i -g pnpm
|
|
|
|
|
|
RUN ln -f /bin/zsh /bin/sh
|
|
RUN ln -f /bin/zsh /bin/ash
|
|
|
|
COPY ./dotfiles /root/.files
|
|
RUN ln -sf /root/.files/.zshrc /root/.zshrc
|
|
RUN ZSH=~/.zsh KEEP_ZSHRC=yes sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
|
|
|
COPY docker-entrypoint.sh /
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
|
CMD [ "sleep", "infinity" ] |