From 6f4d7c888adf2d952a8ec08f0bd57456f345ba71 Mon Sep 17 00:00:00 2001 From: Max Bigras Date: Mon, 13 Jan 2020 00:11:58 -0800 Subject: [PATCH] Install different awk, sed, and grep The alpine container uses busybox which is missing some of the default options Fixes #2 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e665258..20076bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ FROM alpine:3.7 WORKDIR /tailon COPY --from=build /go/src/github.com/gvalkov/tailon/tailon /usr/local/bin/tailon +RUN unlink /usr/bin/awk && unlink /bin/grep && unlink /bin/sed +RUN apk add gawk grep sed + CMD ["--help"] ENTRYPOINT ["/usr/local/bin/tailon"] EXPOSE 8080 \ No newline at end of file