argo-cd/hack/Dockerfile.dev-tools

18 lines
472 B
Text
Raw Permalink Normal View History

FROM argocd-test-tools:latest as base
2019-10-11 20:42:02 +00:00
RUN ./install.sh codegen-tools
RUN ./install.sh codegen-go-tools
RUN ./install.sh lint-tools
RUN mkdir -p /home/user && chmod 777 /home/user
RUN git config --system user.name "ArgoCD Test User"
RUN git config --system user.email "noreply@example.com"
RUN mkdir -p /go/pkg && chmod 777 /go/pkg
2019-10-11 20:42:02 +00:00
RUN mkdir -p /home/user/.cache && chmod 777 /home/user/.cache
2019-10-11 20:42:02 +00:00
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*