Sign inSign up

guanyebo/eks-deploy-runner

By guanyebo

Updated over 6 years ago

Image
0

1.5K

guanyebo/eks-deploy-runner repository overview

This is for deploy cicd pipeline for login in eks cluster

eks-deploy-runner basic docker.io/banst/awscli:latest

https://hub.docker.com/r/banst/awscli

$ tree -a .
.
├── .aws
│   ├── config
│   └── credentials-temp
└── Dockerfile

$ cat .aws/config
[default]
region = ap-northeast-1
output = json

$ cat .aws/credentials-temp
[default]
aws_access_key_id = $AWSACCESS
aws_secret_access_key = $AWSSECRETTOKEN

$ vi Dockerifle 

==================================================================================
FROM guanyebo/eks-deplor-runner:base
WORKDIR /root
COPY . .
WORKDIR /root/.local/bin
RUN set -x && \
    apk add --update libintl && \
    apk add --virtual build_deps gettext && apk add bash && \
    cp /usr/bin/envsubst /usr/local/bin/envsubst && \
    apk del build_deps
RUN apk add curl && curl -o kubectl https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.8/2019-08-14/bin/linux/amd64/kubectl && chmod +x kubectl && kubectl version --short --client
RUN  curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator &&  chmod +x aws-iam-authenticator && aws-iam-authenticator help
ENTRYPOINT []

==================================================================================
docker build  tag $docker-user-name/eks-deploy-runner .

Tag summary

Content type

Image

Digest

Size

73.1 MB

Last updated

almost 7 years ago

docker pull guanyebo/eks-deploy-runner