Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Docker/jekyll problems #224

Merged
merged 9 commits into from
Oct 12, 2022
Merged

Conversation

LukeSeers
Copy link
Contributor

@LukeSeers LukeSeers commented Sep 12, 2022

When trying to set up the Web repo, I've ran into so many weird problems.

Problem 1
The new Docker Compose V2 (enabled by default now) changes the layout of the docker-compose.yml thus creating breaking issues.

Solution (Problem 1)
The fix for now is that I have disabled the Docker Compose V2 and I've also added it to the README.md to reflected these changes.

Problem 2
The gem therubyracer was not supported in the latest ruby version that is shipped with the latest official jekyll docker image.

Solution
In the end after talking / troubleshooting with Daniel. He suggest to just remove gem therubyracer.

Problem 3
I kept getting weird problems that I wasn't able to figure out with something relating toBuilder honestly I have no clue..

Solution
When pulling the web repo it gets the latest docker image and I had weird issues with it. So I ended up with downgrading to a older version of the official jekyll docker image 4.2.2 to fix these problems.

Problem 4
Weird chown permissions when wanting to change files. This is a known issue in the latest docker-desktop-mac docker/for-mac#6467

Solution
you will need to run this rm -rf _site .sass-cache .jekyll-metadata .jekyll-cache before docker-compose up every time.

On the latest version of Docker Desktop 4.12.0 it includes a updated versions of docker compose which brakes our current set up with jekyll
@davegson davegson merged commit c41be91 into master Oct 12, 2022
@davegson davegson deleted the feature/compatibility-problems branch October 12, 2022 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants