Skip to content

Commit

Permalink
Remove installer scripts #1536
Browse files Browse the repository at this point in the history
NOTE: Alpine rm tool does not support long format (--recursive and --force)
it only supports the short form
  • Loading branch information
Jeeppler committed Feb 13, 2023
1 parent 0767d64 commit ae04caf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sechub-solution/docker/SecHub-Alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@ COPY run.sh /run.sh
# Set execute permissions for scripts
RUN chmod +x /run.sh

# Set permissions
RUN chown --recursive "$USER:$USER" "$SECHUB_FOLDER" "$SECHUB_STORAGE_SHAREDVOLUME_UPLOAD_DIR"
# Set permissions and remove install scripts
RUN chown --recursive "$USER:$USER" "$SECHUB_FOLDER" "$SECHUB_STORAGE_SHAREDVOLUME_UPLOAD_DIR" && \
rm -rf "$SECHUB_FOLDER/install-java/"

# Set workspace
WORKDIR "$SECHUB_FOLDER"
Expand Down

0 comments on commit ae04caf

Please sign in to comment.