From 5a02cb44c8461bcba5163688ce105bcaecbda445 Mon Sep 17 00:00:00 2001 From: Karcsesz Date: Mon, 18 Mar 2024 00:38:26 +0100 Subject: [PATCH] Switch to alpine and provide default editor --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7465352..6353a55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,12 @@ COPY . . 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