Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
chilio committed Dec 31, 2023
1 parent 6bcfe75 commit 0584ecf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,14 @@ RUN \
xfonts-scalable \
&& CHROMEDRIVER_VERSION=`curl https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions.json | jq -r .channels.Stable.version` \
&& echo $CHROMEDRIVER_VERSION \
&& mkdir -p /opt/chromedriver-$CHROMEDRIVER_VERSION \
&& curl -sS -o /tmp/chromedriver_linux64.zip \
https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/$CHROMEDRIVER_VERSION/linux64/chromedriver_linux64.zip \
&& unzip -qq /tmp/chromedriver_linux64.zip -d /opt/chromedriver-$CHROMEDRIVER_VERSION \
&& rm /tmp/chromedriver_linux64.zip \
&& chmod +x /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver \
&& ln -fs /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver /usr/local/bin/chromedriver \
&& curl -sS -o /tmp/chromedriver_latest.zip \
https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/$CHROMEDRIVER_VERSION/linux64/chromedriver-linux64.zip \
&& dir -lh /tmp \
&& unzip -j /tmp/chromedriver_latest.zip chromedriver-linux64/chromedriver -d /tmp \
&& rm /tmp/chromedriver_latest.zip \
&& mv /tmp/chromedriver /opt/chromedriver \
&& chmod +x /opt/chromedriver \
&& ln -fs /opt/chromedriver /usr/local/bin/chromedriver \
&& curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt-get -yq update && apt-get install -yq --fix-missing google-chrome-stable x11vnc rsync
Expand Down
2 changes: 1 addition & 1 deletion commands/start-nginx-ci-project.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
sed -i "s|root /var/www/html/public;|root $(pwd)/public;|" /etc/nginx/sites-available/default
service php8.2-fpm start
service php8.3-fpm start
service nginx start
2 changes: 1 addition & 1 deletion configs/nginx-default-site
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ server {
## With php7.0-cgi alone:
#fastcgi_pass 127.0.0.1:9000;
## With php7.0-fpm:
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;

}

Expand Down

0 comments on commit 0584ecf

Please sign in to comment.