mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
19 lines
528 B
Docker
19 lines
528 B
Docker
FROM argocd-test-tools:latest as base
|
|
|
|
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 HELM_HOME=/home/user/.helm helm2 init --client-only
|
|
|
|
RUN git config --system user.name "ArgoCD Test User"
|
|
RUN git config --system user.email "[email protected]"
|
|
|
|
RUN mkdir -p /go/pkg && chmod 777 /go/pkg
|
|
|
|
RUN mkdir -p /home/user/.cache && chmod 777 /home/user/.cache
|
|
|
|
RUN apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|