-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (19 loc) · 869 Bytes
/
Dockerfile
File metadata and controls
26 lines (19 loc) · 869 Bytes
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
FROM alpine:3.10
LABEL "repository"="http://github.com/variantdev/variant-action"
LABEL "homepage"="http://github.com/variantdev/variant-action"
LABEL "maintainer"="Yusuke KUOKA <ykuoka@gmail.com>"
# Install all packages as root
USER root
# Install the cloudposse alpine repository
ADD https://apk.cloudposse.com/ops@cloudposse.com.rsa.pub /etc/apk/keys/
RUN echo "@cloudposse https://apk.cloudposse.com/3.8/vendor" >> /etc/apk/repositories
RUN apk add --update --no-cache bash curl git jq \
docker-compose docker-cli \
slack-notifier@cloudposse \
github-commenter@cloudposse
ENV VARIANT_VERSION 0.36.4
RUN cd /usr/local/bin && \
curl -L https://github.com/mumoshu/variant/releases/download/v${VARIANT_VERSION}/variant_{$VARIANT_VERSION}_linux_amd64.tar.gz | tar zxvf - && \
rm README.md
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]