Skip to content

Commit

Permalink
rest of the images
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb committed Dec 23, 2024
1 parent a13a5af commit 6292926
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 7 deletions.
10 changes: 9 additions & 1 deletion ee/apps/account-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,15 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down
11 changes: 10 additions & 1 deletion ee/apps/authorization-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,16 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk del build-dependencies && \
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down
11 changes: 10 additions & 1 deletion ee/apps/ddp-streamer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,16 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk del build-dependencies && \
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down
11 changes: 10 additions & 1 deletion ee/apps/omnichannel-transcript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,16 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk del build-dependencies && \
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down
11 changes: 10 additions & 1 deletion ee/apps/presence-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,16 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk del build-dependencies && \
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down
11 changes: 10 additions & 1 deletion ee/apps/queue-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,16 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk del build-dependencies && \
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down
11 changes: 10 additions & 1 deletion ee/apps/stream-hub-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,16 @@ RUN apk update && \
apk --no-cache --virtual build-dependencies add g++ python3 make py3-setuptools && \
yarn workspaces focus --production && \
rm -rf /var/cache/apk/* && \
apk del build-dependencies
apk del build-dependencies && \
apk add --no-cache --virtual .usermod shadow && \
groupmod -n rocketchat nogroup && \
useradd -u 65533 -r -g rocketchat rocketchat && \
apk del .usermod && \
apk del build-dependencies && \
cd /app && \
chown -R rocketchat:rocketchat *

USER rocketchat

EXPOSE 3000 9458

Expand Down

0 comments on commit 6292926

Please sign in to comment.