mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-18 19:32:32 +08:00
Change /etc/services.d/code-server/run to /etc/s6-overlay/s6-rc.d/svc-code-server/run This allows the file to correctly change the path environment variable during the goland package add process. Currently when using the /etc/services.d/code-server/run path it results in an error and the path environment variable unchanged. I forked this repo, ran a build image to my own docker repo and was able to test that this change does indeed allow the file to change the environment variable correctly.
Golang - Docker mod for code-server and openvscode-server
This mod adds golang/go to code-server and openvscode-server.
In code-server or openvscode-server docker arguments, set an environment variable DOCKER_MODS=linuxserver/mods:code-server-golang
If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=linuxserver/mods:code-server-golang|linuxserver/mods:code-server-mod2
Available Image Tags
code-server-golang: installs the latest stable versioncode-server-golang-X: installs the latest majorXversioncode-server-golang-X.X: installs the latest minorX.Xversioncode-server-golang-X.X.X: installs the specificX.X.Xversion
Examples
linuxserver/mods:code-server-golang-1.13will install the latest1.13release, which is1.13.10as of 2020/05/07linuxserver/mods:code-server-golang-1will install the latest1release, which is1.14.2as of 2020/05/07linuxserver/mods:code-server-golangwill install the latest stable release, which is1.14.2as of 2020/05/07linuxserver/mods:code-server-golang-1.14.2will install the specific1.14.2release
Visit https://hub.docker.com/r/linuxserver/mods/tags?page=1&name=code-server-golang to see all available tags
Languages
Text
100%