Skip to content

Commit

Permalink
Purging cache to get around g_log_structured_standard error (heroku#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabrown85 authored Sep 5, 2018
1 parent b8712bf commit 64ede50
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,20 @@ case "$stack" in
;;
"heroku-16" | "heroku-18")
# the package list is found by using ci:debug then running ldd $GOOGLE_CHROME_BIN | grep not
# also look here for more packages/notes https://developers.google.com/web/tools/puppeteer/troubleshooting
# also look here for more packages/notes https://developers.google.com/web/tools/puppeteer/troubleshooting
PACKAGES="libx11-xcb1 libxtst6 libnss3 libnspr4 libxss1 libasound2 libatk-bridge2.0-0 libgtk-3-0"
;;
*)
error "STACK must be 'cedar-14', 'heroku-16', or 'heroku-18' not '$stack.'"
esac

indent "Installing Google Chrome from the $channel channel."
if [ ! -f $CACHE_DIR/UPDATED_APT_GET ]; then
topic "Purging apt-get cache"
rm -rf $CACHE_DIR/apt
touch $CACHE_DIR/UPDATED_APT_GET
fi

topic "Installing Google Chrome from the $channel channel."

PACKAGES="$PACKAGES https://dl.google.com/linux/direct/google-chrome-${channel}_current_amd64.deb"

Expand Down

0 comments on commit 64ede50

Please sign in to comment.