Skip to content

Commit

Permalink
chore(blackduck): move nonroot user
Browse files Browse the repository at this point in the history
SUITEDEV-35556

chore(blackduck): add permission to nonroot user
SUITEDEV-35556

chore(blackduck): add permission to nonroot user
SUITEDEV-35556

chore(blackduck): add permission to nonroot user
SUITEDEV-35556

chore(blackduck): add permission to nonroot user
SUITEDEV-35556

chore(blackduck): add permission to nonroot user
SUITEDEV-35556

chore(blackduck): remove non-existing folder from Dockerfile.codescan
SUITEDEV-35556

chore(blackduck): remove example folder in Dockerfile.codescan
SUITEDEV-35556

chore(blackduck): add permissions to example folder
SUITEDEV-35556

chore(blackduck): dont remove example folder
SUITEDEV-35556

chore(blackduck): run scan as root
SUITEDEV-35556
  • Loading branch information
matusekma committed Apr 30, 2024
1 parent 6e13bd9 commit 1e76921
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile.codescan
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ RUN cd /workspace/source

RUN flutter doctor

RUN groupadd -r nonroot && useradd -r -s /bin/false -g nonroot nonroot
RUN chown -R nonroot:nonroot /workspace/source
RUN chown -R nonroot:nonroot /usr/local/flutter
USER nonroot

# remove unnecessary files
CMD flutter pub get && cat pubspec.lock && rm -rf example

Expand Down

0 comments on commit 1e76921

Please sign in to comment.