elvish/Dockerfile

10 lines
253 B
Docker
Raw Normal View History

FROM golang:1.22-alpine3.19 as builder
2023-10-13 05:48:51 +08:00
RUN apk add --no-cache --virtual build-deps make git
2018-10-20 23:49:33 +08:00
# Build Elvish
COPY . /go/src/src.elv.sh
RUN make -C /go/src/src.elv.sh get
2018-06-13 21:46:49 +08:00
FROM alpine:3.19
2023-10-13 05:48:51 +08:00
COPY --from=builder /go/bin/elvish /bin/elvish
CMD ["/bin/elvish"]