Beautiful trolling 

over on :birdsite:, @farrokhi said they had never tried ed(1) and asked where they could obtain the docker image.



Nerd snipe 

@ed1conf @farrokhi

An image with only: /bin/ed, /lib/, and /tmp.
Comes out to 640kB, which should be enough for anybody.

FROM alpine AS builder
RUN apk add ed

FROM scratch
COPY --from=builder /tmp /tmp
COPY --from=builder /lib/ /lib/
COPY --from=builder /bin/ed /bin/
ENTRYPOINT ["/bin/ed"]

· · Web · 1 · 8 · 9
Sign in to participate in the conversation

The original server operated by the Mastodon gGmbH non-profit