Skip to content

Commit 621e8ed

Browse files
committed
[docker] Group rights for CentOS
1 parent ba4fee2 commit 621e8ed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile-centos-api

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ RUN curl -s -L -o /tmp/tini.rpm "https://github.com/krallin/tini/releases/downlo
4343
yum -y install pango.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 libXext.x86_64 libXi.x86_64 libXtst.x86_64 cups-libs.x86_64 libXScrnSaver.x86_64 libXrandr.x86_64 GConf2.x86_64 alsa-lib.x86_64 atk.x86_64 gtk3.x86_64 ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc && \
4444
yum clean all && \
4545
rm -rf /tmp/* /tmp/.??* /var/tmp/* /var/tmp/.??* /var/log/* && \
46-
chown -R 1001:0 /opt/countly
46+
chown -R 1001:0 /opt/countly && \
47+
chmod -R g=u /opt/countly
4748

4849

4950
USER 1001:0

Dockerfile-centos-frontend

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ RUN curl -s -L -o /tmp/tini.rpm "https://github.com/krallin/tini/releases/downlo
3939
yum clean all && \
4040
rm -rf /tmp/* /tmp/.??* /var/tmp/* /var/tmp/.??* /var/log/* && \
4141
chown -R 1001:0 /opt/countly && \
42+
chmod -R g=u /opt/countly && \
4243
\
4344
bash ./bin/scripts/detect.init.sh && \
4445
./bin/commands/countly.sh update sdk-web

0 commit comments

Comments
 (0)