Last active
May 5, 2020 18:11
-
-
Save bsnux/598dac1e83cdf2e56a388992f484415e to your computer and use it in GitHub Desktop.
Simple Dockerfile base image for delivering shell scripts with no dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Image size is around 12MB.