-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
35 lines (29 loc) · 893 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ruby:2-slim
LABEL "name"="Shell Action"
LABEL "maintainer"="Stan Chollet <stanislas.chollet@gmail.com>"
LABEL "version"="1.0.0"
LABEL "com.github.actions.name"="Shell Action"
LABEL "com.github.actions.description"="Action for executing shell/make commands"
LABEL "com.github.actions.icon"="filter"
LABEL "com.github.actions.color"="gray-dark"
COPY README.md /
RUN apt-get update && \
apt-get install --no-install-recommends -y \
bats \
build-essential \
ca-certificates \
curl \
gnupg2 \
jq \
git \
make \
shellcheck && \
curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
apt-get install -y \
nodejs && \
npm install -g dockerfile_lint && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
COPY is_ref.sh /usr/bin/is_ref
RUN chmod +x /usr/bin/is_ref
CMD ["make", "run"]