Move image to alpine

This commit is contained in:
ludeeus 2020-05-29 23:11:06 +02:00
parent 70c0c19934
commit 5e7f90b47a

View File

@ -1,16 +1,15 @@
FROM debian:latest FROM alpine:3.11.6
COPY runaction.sh /runaction.sh COPY runaction.sh /action/runaction.sh
RUN chmod +x /runaction.sh
RUN apt update
RUN apt install -y shellcheck
ENTRYPOINT ["/runaction.sh"] RUN apk add --no-cache shellcheck bash
LABEL "name"="shellcheck" ENTRYPOINT ["bash", "/action/runaction.sh"]
LABEL "maintainer"="Ludeeus <ludeeus@gmail.com>"
LABEL "name"="ShellCheck"
LABEL "maintainer"="Ludeeus <hi@ludeeus.dev>"
LABEL "version"="0.1.0" LABEL "version"="0.1.0"
LABEL "com.github.actions.name"="shellcheck" LABEL "com.github.actions.name"="ShellCheck"
LABEL "com.github.actions.description"="Run shell check on ALL sh files in the repository." LABEL "com.github.actions.description"="GitHub action for ShellCheck."
LABEL "com.github.actions.icon"="terminal" LABEL "com.github.actions.icon"="terminal"
LABEL "com.github.actions.color"="black" LABEL "com.github.actions.color"="black"