timovv / notion-website-template

Make a personal website using Notion and GitHub Pages
136 stars 62 forks source link

Build Loconotion docker image failed. #14

Closed ngbao161199 closed 1 year ago

ngbao161199 commented 1 year ago

Hi @timovv , idk why just do like your format but encounter this problem:

ERROR: failed to solve: process "/bin/sh -c wget --no-verbose -O /tmp/chrome.deb [https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb](https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_$%7BCHROME_VERSION%7D_amd64.deb)   && apt install -y /tmp/chrome.deb   && rm /tmp/chrome.deb" did not complete successfully: exit code: 8
Service 'loconotion' failed to build : Build failed
Error: Process completed with exit code 1.
tkasarla commented 1 year ago

@timovv @ngbao161199 I have the same error right now.

estatements commented 1 year ago

same here

andrewgetzdata commented 1 year ago

@timovv -- Same here, this is a great concept! Would love to use it if I could.

Happy to donate to a developer fund to get it fixed! 💸

andrewgetzdata commented 1 year ago

@timovv -- Found a solution in the Loconotion Repo that worked for me.

https://github.com/leoncvlt/loconotion/issues/137#issuecomment-1712693550

Screenshot 2023-09-10 at 6 29 12 PM

CC: @estatements @tkasarla @ngbao161199

timovv commented 1 year ago

Hi folks, thanks for bringing this to my attention. I think the best course of action here is to drop Docker entirely and just install the chromedriver directly onto the runner. That will bypass this issue since we'll just be installing the web driver from the Ubuntu repository, which should keep things up-to-date enough.

Using the Docker image has caused some other weirdness in the past, so I am hoping that getting rid of it will streamline things in other areas too.

Fix incoming!

timovv commented 1 year ago

I have merged the change to remove the dependency on Docker. It works for me when I test. Give it a try and let me know if it's working for you all.