Skip to content

Instantly share code, notes, and snippets.

@comtom
Created July 12, 2018 14:19
Show Gist options
  • Select an option

  • Save comtom/82a57739ec29577a283a3b3e17e14548 to your computer and use it in GitHub Desktop.

Select an option

Save comtom/82a57739ec29577a283a3b3e17e14548 to your computer and use it in GitHub Desktop.
Build a custom micro binary with all plugins you want in your machine and then make a docker image with it
FROM alpine:3.2
RUN apk add --update ca-certificates && \
apk add libc6-compat && \
rm -rf /var/cache/apk/* /tmp/*
ADD micro /micro
WORKDIR /
ENTRYPOINT [ "/micro" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment