Skip to content

Instantly share code, notes, and snippets.

@bsnux
Last active May 5, 2020 18:11
Show Gist options
  • Save bsnux/598dac1e83cdf2e56a388992f484415e to your computer and use it in GitHub Desktop.
Save bsnux/598dac1e83cdf2e56a388992f484415e to your computer and use it in GitHub Desktop.
Simple Dockerfile base image for delivering shell scripts with no dependencies
FROM alpine:3.7
LABEL desc="Simple image for delivering shell script with no dependencies"
LABEL author="bsnux"
LABEL tag="1.0"
ADD your-script-here.sh /opt/your-script-here.sh
RUN apk update \
&& apk add \
curl \
jq \
bash
CMD ["/opt/your-script-here.sh"]
@bsnux
Copy link
Author

bsnux commented May 5, 2020

Image size is around 12MB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment