-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from koslib/features/dockerhub-img
Moved dockerfile to a separate folder folder for Dockerhub - Closes #31
- Loading branch information
Showing
3 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,4 @@ | ||
FROM alpine:3.13 | ||
# For contributors: in case someone would like to contribute a change in the base docker image, | ||
# please open a PR for the `dockerhub/Dockerfile` in the same project. | ||
|
||
ARG AWSCLI_VERSION="1.23.13" | ||
ARG HELM_VERSION="3.8.0" | ||
ARG KUBECTL_VERSION="1.24.0" | ||
|
||
RUN apk add py-pip curl wget ca-certificates git bash jq gcc alpine-sdk | ||
RUN pip install "awscli==${AWSCLI_VERSION}" | ||
RUN curl -L -o /usr/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl | ||
RUN chmod +x /usr/bin/kubectl | ||
|
||
RUN curl -o /usr/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator | ||
RUN chmod +x /usr/bin/aws-iam-authenticator | ||
|
||
RUN wget https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm | ||
RUN chmod +x /usr/local/bin/helm | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"]: | ||
FROM koslib/ga-helm-eks:1.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM alpine:3.13 | ||
|
||
ARG AWSCLI_VERSION="1.23.13" | ||
ARG HELM_VERSION="3.8.0" | ||
ARG KUBECTL_VERSION="1.24.0" | ||
|
||
RUN apk add py-pip curl wget ca-certificates git bash jq gcc alpine-sdk | ||
RUN pip install "awscli==${AWSCLI_VERSION}" | ||
RUN curl -L -o /usr/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl | ||
RUN chmod +x /usr/bin/kubectl | ||
|
||
RUN curl -o /usr/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator | ||
RUN chmod +x /usr/bin/aws-iam-authenticator | ||
|
||
RUN wget https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm | ||
RUN chmod +x /usr/local/bin/helm | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"]: |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Dockerhub Dockerfile | ||
|
||
This `Dockerfile` is the source of the Dockerhub-hosted `koslib/ga-helm-eks` image, which is used in this action's local Dockerfile. |