Dockerfile for git, kubectl and helm client
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, dockerfile, git, helm, kubernetes
- Domain
- cli, devops, infrastructure
Research direction
The issue body contains a proposed Dockerfile but names no repository path, test, or explicit acceptance criteria. Begin by inspecting the repository layout and determining where this Dockerfile belongs; confirm the expected image contents and handling of the copied SSH and configuration files before deciding that the image builds successfully.
Written by the indexing model from the issue text.
Description
FROM alpine:3.14.2
WORKDIR /root
LABEL org.label-schema.vcs-ref=$VCS_REF
org.label-schema.name="helm-kubectl"
org.label-schema.url="https://hub.docker.com/r/dtzar/helm-kubectl/"
org.label-schema.vcs-url="https://github.com/dtzar/helm-kubectl"
org.label-schema.build-date=$BUILD_DATE
COPY ./ssh_config /root/.ssh/config
COPY ./id_rsa /root/.ssh/id_rsa
COPY ./id_rsa.pub /root/.ssh/id_rsa.pub
COPY ./known_hosts /root/.ssh/known_hosts
COPY ./gitconfig /root/.gitconfig
COPY ./k8s-dev.config /root/.kube/k8s-dev.config
#include python3 if needed in the following line
RUN apk add --update --no-cache tzdata diffutils git openssh ca-certificates bash curl gettext jq bind-tools
&& wget -q https://storage.googleapis.com/kubernetes-release/release/v1.21.2/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl
&& chmod +x /usr/local/bin/kubectl
&& wget -q https://get.helm.sh/helm-v3.7.2-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm
&& chmod +x /usr/local/bin/helm
&& helm plugin install https://github.com/AliyunContainerService/helm-acr
&& helm repo add skywalking https://apache.jfrog.io/artifactory/skywalking-helm
&& helm repo add bitnami https://charts.bitnami.com/bitnami
&& helm repo add kafka-ui https://provectus.github.io/kafka-ui
&& helm repo update
&& chmod g+rwx /root
&& mkdir /config
&& chmod g+rwx /config
&& echo 'Asia/Shanghai' >/etc/timezone
&& rm -rf /var/cache/apk/* && chmod 600 /root/.ssh/id_rsa && chmod 644 /root/.ssh/id_rsa.pub
ENV TZ=Asia/Shanghai
CMD ["sh", "tail -f /dev/null"]
- Dominant language
- Python
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from davideuler/programming-tips
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
build milvus on Mac Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in davideuler/programming-tips
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100