Update code-server in Coder V2
How to upgrade/update them up-to-date
11 Replies
<#1246274112670793769>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
You can build your own images and use these in your tmeplate. Or you do the update of code-server before starting it in the agent script.
This is an example for a manjaro based custom image.
Docker?
I’m trying to figure out the same thing. How can I update the code-server version running in a Docker container from the templates given by Coder? Do I have to build a custom one?
Which template are you talking about? Coder templates are meant to be examples and users are expected to tune them as per their needs.
The Docker template that comes with Coder:
For updating code-server, do I add a line to the Dockerfile?:
code-server is being installed in the main.tf file. In agent startup script.
You can move it in Dockerfile too
Ah! I see
@Trung™ If it helps, all I did was change the coder-server version in the main.tf file:
Solution
Oh really
I will have a look today