Skip to content

Moved from yarn to pnpm#467

Merged
tianon merged 3 commits intodocker-library:masterfrom
9larsons:support-pnpm
Apr 18, 2026
Merged

Moved from yarn to pnpm#467
tianon merged 3 commits intodocker-library:masterfrom
9larsons:support-pnpm

Conversation

@9larsons
Copy link
Copy Markdown
Contributor

ref TryGhost/Ghost@f186b6a

Ghost moved over after 6.28 was cut from yarn to pnpm for the package manager. As yarn.lock no longer exists, we need to update the Docker image to point ot the pnpm-lock file and run corepack enable.

ref TryGhost/Ghost@f186b6a

Ghost moved over **after 6.28 was cut** from yarn to pnpm for the package manager. As `yarn.lock` no longer exists, we need to update the Docker image to point ot the `pnpm-lock` file and run `corepack enable`.
Comment thread Dockerfile.template Outdated
@acburdine
Copy link
Copy Markdown
Collaborator

@9larsons you'll also need to run ./update.sh to re-generate the Dockerfiles/update versions.json

@tianon
Copy link
Copy Markdown
Member

tianon commented Apr 17, 2026

I pulled a copy of this locally (with the intent to run ./update.sh and push the result so we can get this in), but I got the following when trying to do a build test of the result:

[22:25:11] → Version 6.31.0 does not exist
A CliError occurred.

Message: Version 6.31.0 does not exist

Debug Information:
    OS: Debian GNU/Linux, v12
    Node Version: v22.22.2
    Ghost-CLI Version: 1.29.1
    Environment: production
    Command: 'ghost install 6.31.0 --db mysql --dbhost mysql --no-prompt --no-stack --no-setup --dir /var/lib/ghost'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

Did I just hit some bad luck on the timing? I'm going to try manually munging versions.json to 6.30.0 (as comparing https://github.com/tryghost/ghost/releases vs https://github.com/tryghost/ghost/tags it looks like maybe 6.31 is just in-progress?) and hoping that can unblock.

@tianon
Copy link
Copy Markdown
Member

tianon commented Apr 17, 2026

Hah, and it looks like /tmp/yarn* was masking the fact that /tmp/v8* isn't matching anything anymore either: 😂

+ rm -rv /tmp/v8*
rm: cannot remove '/tmp/v8*': No such file or directory

@tianon tianon merged commit 1bf8746 into docker-library:master Apr 18, 2026
4 checks passed
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Apr 18, 2026
Changes:

- docker-library/ghost@1bf8746: Update to 6.30.0, move from yarn to pnpm (docker-library/ghost#467)
tianon added a commit to docker-library/official-images that referenced this pull request Apr 18, 2026
Changes:

- docker-library/ghost@1bf8746: Update to 6.30.0, move from yarn to pnpm (docker-library/ghost#467)

Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
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.

3 participants