Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
Update docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Grünewaldt authored Jul 31, 2017
1 parent 77279f1 commit 541d556
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,22 @@ umask u+rxw,g+rwx,o-rwx
#
# XVFB
#
echo "DOCKER-ENTRYPOINT >> starting Xvfb"
Xvfb :99 -ac -screen 0 1280x1024x16 -nolisten tcp &
xvfb=$!
export DISPLAY=:99

#
# DBUS
#
echo "DOCKER-ENTRYPOINT >> starting dbus"
eval `dbus-launch --sh-syntax --config-file=/tmp/dbus-system.conf`

#
# PULSEAUDIO
#
pulseaudio --daemonize
# FIXME: "Daemon startup failed"
#pulseaudio --daemonize

#
# CHROME
Expand All @@ -41,6 +44,11 @@ export CHROME_BIN="/usr/bin/google-chrome"
# FROM HERE ON DOWN JENKINS SLAVE JNLP
# ---------------------------------------------------------------------------------------

echo "DOCKER-ENTRYPOINT >> config: JENKINS_NAME: $JENKINS_NAME"
echo "DOCKER-ENTRYPOINT >> config: JENKINS_SECRET: $JENKINS_SECRET"
echo "DOCKER-ENTRYPOINT >> config: JENKINS_URL: $JENKINS_URL"
echo "DOCKER-ENTRYPOINT >> config: JENKINS_JNLP_URL: $JENKINS_JNLP_URL"

echo "DOCKER-ENTRYPOINT >> downloading jenkins-slave.jar from Jenkins"
curl -sSLo /home/jenkins/.bin/jenkins-slave.jar ${JENKINS_URL}/jnlpJars/slave.jar

Expand Down

0 comments on commit 541d556

Please sign in to comment.