Skip to content

Commit

Permalink
Merge pull request #885 from snyk/fix/make-universal-img-universal-en…
Browse files Browse the repository at this point in the history
…abled

fix: enable universal logic in universal imgs
  • Loading branch information
aarlaud authored Nov 29, 2024
2 parents 6560dce + 9fa8285 commit 7f22ddf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile-universal
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM ${BASE_IMAGE}
USER root
RUN chgrp -R 0 /home/node && chmod -R g=u,o= /home/node && chown -R node /home/node
USER node

ENV UNIVERSAL_BROKER_ENABLED=true
EXPOSE $PORT

CMD ["broker", "--verbose"]
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile-universal.dev
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ COPY defaultFilters /home/node/defaultFilters
USER root
RUN chgrp -R 0 /home/node && chmod -R g=u,o= /home/node && chown -R node /home/node
USER node
ENV UNIVERSAL_BROKER_ENABLED=true

EXPOSE $PORT

Expand Down
1 change: 1 addition & 0 deletions dockerfiles/Dockerfile-universal.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ ARG BASE_IMAGE=snyk/broker:base-rhel-ubi
FROM ${BASE_IMAGE}

USER snyk
ENV UNIVERSAL_BROKER_ENABLED=true

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

0 comments on commit 7f22ddf

Please sign in to comment.