Skip to content

Commit

Permalink
Merge pull request #773 from snyk/fix/openshift-group-ownership
Browse files Browse the repository at this point in the history
fix: dynamic gids for openshift for rhel-ubi
  • Loading branch information
soniqua authored May 24, 2024
2 parents 5cc2a4f + 73106d1 commit e885bcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dockerfiles/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ ENV BROKER_TYPE=${BROKER_TYPE}
# Generate default accept filter
RUN broker init $BROKER_TYPE

# Ensure OpenShift compatibility
USER root
RUN chgrp -R 0 /home/snyk && chmod -R 755 /home/snyk
USER snyk

CMD ["broker", "--verbose"]

0 comments on commit e885bcc

Please sign in to comment.