Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deepsource: DOK-W1001 found consecutive run command #1870

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions dockers/operator/helm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,24 +78,23 @@ COPY Makefile.d .
WORKDIR ${GOPATH}/src/github.com/${ORG}/${REPO}
COPY Makefile .

RUN make helm/schema/vald helm/schema/vald-helm-operator

RUN cp -r charts /charts
RUN make helm/schema/vald helm/schema/vald-helm-operator \
&& cp -r charts /charts

# skipcq: DOK-DL3008
RUN apt-get clean \
&& rm -rf \
/var/lib/apt/lists/* \
/var/cache/* \
&& apt update -y \
&& apt upgrade -y \
&& apt install -y --no-install-recommends --fix-missing \
&& apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends --fix-missing \
upx \
&& apt clean \
&& apt-get clean \
&& rm -rf \
/var/lib/apt/lists/* \
/var/cache/* \
&& apt autoremove
&& apt-get autoremove

ENV APP_NAME helm-operator

Expand Down