Skip to content

Commit

Permalink
chore(blackduck): add permissions to example folder
Browse files Browse the repository at this point in the history
SUITEDEV-35556
  • Loading branch information
matusekma committed Apr 30, 2024
1 parent 6978380 commit a440fd2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.codescan
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ COPY . /workspace/source
RUN flutter doctor

RUN chown -R nonroot:nonroot /workspace/source
RUN chown -R nonroot:nonroot /workspace/source/example

USER nonroot
# remove unnecessary files
USER nonroot:nonroot
# remove unnecessary files and get dependencies
CMD rm -rf /workspace/source/example && flutter pub get


0 comments on commit a440fd2

Please sign in to comment.