Description
I am attempting to start the container in a restricted environment that has access only to the LLM and no external network connectivity. To prevent automatic updates or package installations, I set the environment variable OPENCODE_DISABLE_AUTOUPDATE=1 when starting the container.
However, during startup, OpenCode still attempts to install packages. This behavior makes it difficult to run the container in environments with limited or no outbound access.
Please let me know if there is an additional configuration required to fully disable package installation on startup, or if this is an expected behavior.
If you want, I can also help tailor this to match the project’s issue template (e.g., adding steps to reproduce, expected vs. actual behavior).
Plugins
oh-my-opencode
OpenCode version
1.1.32
Steps to reproduce
Prepare an environment with restricted network access, allowing connectivity only to the LLM endpoint and no access to external package repositories.
Start the OpenCode container with the environment variable OPENCODE_DISABLE_AUTOUPDATE=1 set (for example, via docker run -e OPENCODE_DISABLE_AUTOUPDATE=1 ...).
Observe the container startup logs.
Notice that during startup, OpenCode attempts to install or update packages despite auto-update being disabled.
Screenshot and/or share link
No response
Operating System
macos and redhat linux
Terminal
Ghostty
Description
I am attempting to start the container in a restricted environment that has access only to the LLM and no external network connectivity. To prevent automatic updates or package installations, I set the environment variable OPENCODE_DISABLE_AUTOUPDATE=1 when starting the container.
However, during startup, OpenCode still attempts to install packages. This behavior makes it difficult to run the container in environments with limited or no outbound access.
Please let me know if there is an additional configuration required to fully disable package installation on startup, or if this is an expected behavior.
If you want, I can also help tailor this to match the project’s issue template (e.g., adding steps to reproduce, expected vs. actual behavior).
Plugins
oh-my-opencode
OpenCode version
1.1.32
Steps to reproduce
Prepare an environment with restricted network access, allowing connectivity only to the LLM endpoint and no access to external package repositories.
Start the OpenCode container with the environment variable OPENCODE_DISABLE_AUTOUPDATE=1 set (for example, via docker run -e OPENCODE_DISABLE_AUTOUPDATE=1 ...).
Observe the container startup logs.
Notice that during startup, OpenCode attempts to install or update packages despite auto-update being disabled.
Screenshot and/or share link
No response
Operating System
macos and redhat linux
Terminal
Ghostty