mirror of
https://github.com/1C-Company/docker_fresh.git
synced 2025-01-05 22:53:51 +02:00
commit
1b24100917
@ -11,7 +11,7 @@ RUN yum -y localinstall /tmp/core/*.rpm; \
|
|||||||
yum -y install x11vnc metacity net-tools gdb perl tar git jq; \
|
yum -y install x11vnc metacity net-tools gdb perl tar git jq; \
|
||||||
yum -y install https://centos7.iuscommunity.org/ius-release.rpm; \
|
yum -y install https://centos7.iuscommunity.org/ius-release.rpm; \
|
||||||
yum -y --setopt=tsflags=nodocs install python36u python36u-devel python36u-pip; \
|
yum -y --setopt=tsflags=nodocs install python36u python36u-devel python36u-pip; \
|
||||||
yum -y install java-1.8.0-openjdk; \
|
yum -y install java-1.8.0-openjdk iproute; \
|
||||||
cert-sync /etc/pki/tls/certs/ca-bundle.crt; \
|
cert-sync /etc/pki/tls/certs/ca-bundle.crt; \
|
||||||
oscript /usr/share/oscript/lib/opm/src/cmd/opm.os install deployka; \
|
oscript /usr/share/oscript/lib/opm/src/cmd/opm.os install deployka; \
|
||||||
chmod +x /usr/bin/deployka; \
|
chmod +x /usr/bin/deployka; \
|
||||||
|
@ -18,9 +18,10 @@ then
|
|||||||
echo "Failed to start ragent: $status"
|
echo "Failed to start ragent: $status"
|
||||||
exit $status
|
exit $status
|
||||||
fi
|
fi
|
||||||
|
rm -rf /tmp/.X99-lock
|
||||||
exec /usr/bin/Xvfb :99 -screen 0 1680x1050x24 -shmem &
|
exec /usr/bin/Xvfb :99 -screen 0 1680x1050x24 -shmem &
|
||||||
exec metacity --display=:99 &
|
sleep 5 &&
|
||||||
exec /usr/bin/x11vnc &
|
exec /usr/bin/x11vnc -display :99 -forever &
|
||||||
status=$?
|
status=$?
|
||||||
if [ $status -ne 0 ]; then
|
if [ $status -ne 0 ]; then
|
||||||
echo "Failed to start Xvfb: $status"
|
echo "Failed to start Xvfb: $status"
|
||||||
@ -44,8 +45,7 @@ elif [ "$1" = 'cli' ]
|
|||||||
then
|
then
|
||||||
chown -R usr1cv8:grp1cv8 ${CORELOGS}
|
chown -R usr1cv8:grp1cv8 ${CORELOGS}
|
||||||
exec /usr/bin/Xvfb :99 -screen 0 1680x1050x24 -shmem &
|
exec /usr/bin/Xvfb :99 -screen 0 1680x1050x24 -shmem &
|
||||||
exec metacity --display=:99 &
|
exec /usr/bin/x11vnc -display :99 -forever
|
||||||
exec /usr/bin/x11vnc
|
|
||||||
elif [ "$1" = 'web' ]
|
elif [ "$1" = 'web' ]
|
||||||
then
|
then
|
||||||
chown -R usr1cv8:grp1cv8 ${CORELOGS}
|
chown -R usr1cv8:grp1cv8 ${CORELOGS}
|
||||||
|
Loading…
Reference in New Issue
Block a user