Skip to content

Commit

Permalink
fix: enable universal logic in universal imgs
Browse files Browse the repository at this point in the history
  • Loading branch information
aarlaud committed Nov 29, 2024
1 parent 6560dce commit 9fa8285
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 9fa8285

Please sign in to comment.