-
Notifications
You must be signed in to change notification settings - Fork 108
/
Dockerfile
25 lines (20 loc) · 887 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
FROM gcr.io/cloud-builders/kubectl
LABEL version="1.0.0"
LABEL name="aws-kubectl"
LABEL repository="http://github.com/actions/aws"
LABEL homepage="http://github.com/actions/aws"
LABEL maintainer="GitHub Actions <[email protected]>"
LABEL com.github.actions.name="GitHub Action for AWS - kubectl"
LABEL com.github.actions.description="Stores a kubectl config"
LABEL com.github.actions.icon="box"
LABEL com.github.actions.color="yellow"
COPY LICENSE README.md THIRD_PARTY_NOTICE.md /
RUN apt-get update -y && \
apt-get install -y curl gnupg && \
curl -Lso /bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.10.3/2018-07-26/bin/linux/amd64/aws-iam-authenticator && \
chmod +x /bin/aws-iam-authenticator && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"]