sytone/obsidian-remote

Overwrite ARG OBSIDIAN_VERSION to latest version

lefweh opened this issue · 2 comments

I would like update the obsidian version to the latest version 1.1.9.
The latest version requires an update of the Obsidian installer.

The update had been triggered through Obsidian Settings -> About -> Check for Updates

Describe the solution you'd like
Overwrite ARG OBSIDIAN_VERSION=1.0.3 in Dockerfile or dockerfile.amd64
during the docker run statement.
Example: docker run -d -v vaults:/vaults -v config:/config -e OBSIDIAN_VERSION=1.1.9 -p 8080:8080 ghcr.io/sytone/obsidian-remote:latest

Describe alternatives you've considered
Forcing an update by executing installer installation directly in the container. Not a long-term solution though.

2022-12-27 11_05_28-Window

#40 has bumped the version for the moment. Will look at arguments approach.

Taking a quick look, to move to ENV the installation and setup of Obsidian would move to docker start. Which is possible but a bit of work to ensure all the init scripts run correctly when the container starts up. It also means the container needs access to the obsidian source to download which it does not now and can be run independently.