Sign inSign up

lwinmoethant/pipeline-runner

By lwinmoethant

•Updated about 2 years ago

docker for gitlab runner

Image
0

832

lwinmoethant/pipeline-runner repository overview

installed package - awscli, openssh, git, curl, jq, kubectl

FROM docker:latest

⁠Install necessary packages

RUN apk add --no-cache
openssh-client
git
curl
jq
python3
py3-pip

⁠Install AWS CLI

RUN pip3 install awscli --no-cache-dir --break-system-packages

⁠Set up SSH config

RUN mkdir -p ~/.ssh && chmod 700 ~/.ssh &&
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config

⁠Install kubectl (latest version)

RUN curl -L https://dl.k8s.io/release/$(curl⁠ -Ls https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl⁠ -o /usr/local/bin/kubectl &&
chmod +x /usr/local/bin/kubectl

Tag summary

Content type

Image

Digest

sha256:08ee0a59b…

Size

135.2 MB

Last updated

about 2 years ago

docker pull lwinmoethant/pipeline-runner:arm64