2020-03-27 18:36:20 +00:00
|
|
|
FROM argocd-test-tools:latest as base
|
2019-07-23 18:24:59 +00:00
|
|
|
|
2019-10-11 20:42:02 +00:00
|
|
|
RUN ./install.sh codegen-tools
|
|
|
|
|
RUN ./install.sh codegen-go-tools
|
2020-03-27 18:36:20 +00:00
|
|
|
RUN ./install.sh lint-tools
|
2019-07-23 18:24:59 +00:00
|
|
|
|
2019-07-26 17:46:45 +00:00
|
|
|
RUN mkdir -p /home/user && chmod 777 /home/user
|
2019-07-23 18:24:59 +00:00
|
|
|
|
2020-03-27 18:36:20 +00:00
|
|
|
RUN git config --system user.name "ArgoCD Test User"
|
|
|
|
|
RUN git config --system user.email "noreply@example.com"
|
|
|
|
|
|
2019-07-26 17:46:45 +00:00
|
|
|
RUN mkdir -p /go/pkg && chmod 777 /go/pkg
|
2019-10-11 20:42:02 +00:00
|
|
|
|
2020-03-27 18:36:20 +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/*
|