labels, git, and other things (ssh)

This commit is contained in:
Lio 2024-11-29 20:32:48 +01:00
parent 2184fc5e85
commit 9416485b39

View file

@ -1,14 +1,15 @@
# 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"
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 \
openssh \
zsh \
curl \
bat \
@ -29,6 +30,7 @@ RUN npm i -g pnpm
RUN ln -f /bin/zsh /bin/sh
RUN ln -f /bin/zsh /bin/ash
RUN git config --global core.autocrlf true
COPY ./dotfiles /root/.files
RUN ln -sf /root/.files/.zshrc /root/.zshrc