Switch to alpine and provide default editor
This commit is contained in:
parent
4aa7aa99f9
commit
5a02cb44c8
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue