Update code-server in Coder V2

How to upgrade/update them up-to-date
11 Replies
Codercord
Codercord4mo ago
<#1246274112670793769>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
MrPeacock
MrPeacock4mo ago
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.
yay -Sy --noconfirm code-server
yay -Sy --noconfirm code-server
This is an example for a manjaro based custom image.
Trung™
Trung™4mo ago
Docker?
feners4
feners44mo ago
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?
Atif
Atif4mo ago
Which template are you talking about? Coder templates are meant to be examples and users are expected to tune them as per their needs.
feners4
feners44mo ago
The Docker template that comes with Coder:
No description
feners4
feners44mo ago
For updating code-server, do I add a line to the Dockerfile?:
No description
Atif
Atif4mo ago
code-server is being installed in the main.tf file. In agent startup script. You can move it in Dockerfile too
feners4
feners44mo ago
Ah! I see @Trung™ If it helps, all I did was change the coder-server version in the main.tf file:
Solution
feners4
feners44mo ago
No description
Trung™
Trung™4mo ago
Oh really I will have a look today
Want results from more Discord servers?
Add your server