Switch to alpine and provide default editor

This commit is contained in:
Karcsesz 2024-03-18 00:38:26 +01:00
parent 4aa7aa99f9
commit 5a02cb44c8

View file

@ -13,7 +13,12 @@ COPY . .
RUN cargo build --target $target --release RUN cargo build --target $target --release
FROM scratch FROM alpine:latest
ARG editor=vim
RUN apk add --no-cache $editor
ENV EDITOR=$editor
WORKDIR /fingerlink WORKDIR /fingerlink