You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if [ "$LATEST_MAJOR" == "true" ]; then docker tag ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${GO_TAG} ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${GO_TAG_MAJOR}; fi
42
+
- if [ "$LATEST_MINOR" == "true" ]; then docker tag ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${GO_TAG} ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${GO_TAG_MINOR}; fi
43
+
- if [ "$LATEST" == "true" ]; then docker tag ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${GO_TAG} ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}; fi
This mod adds rsync to openssh-server, to be installed/updated during container start.
3
+
This mod adds golang/go to code-server.
4
4
5
-
In openssh-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:openssh-server-rsync`
5
+
In code-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-golang`
6
6
7
-
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:openssh-server-rsync|linuxserver/mods:openssh-server-mod2`
7
+
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`
8
8
9
-
# Mod creation instructions
9
+
## Available Image Tags
10
+
-`code-server-golang` : installs the latest stable version
11
+
-`code-server-golang-X` : installs the latest major `X` version
12
+
-`code-server-golang-X.X` : installs the latest minor `X.X` version
13
+
-`code-server-golang-X.X.X` : installs the specific `X.X.X` version
10
14
11
-
* Ask the team to create a new branch named `<baseimagename>-<modname>`. Baseimage should be the name of the image the mod will be applied to. The new branch will be based on the `template` branch.
12
-
* Fork the repo, checkout the newly created branch.
13
-
* Edit the `Dockerfile` for the mod. `Dockerfile.complex` is only an example and included for reference; it should be deleted when done.
14
-
* Inspect the `root` folder contents. Edit, add and remove as necessary.
15
-
* Edit this readme with pertinent info, delete these instructions.
16
-
* Finally edit the `travis.yml`. Customize the build branch, and the vars for `BASEIMAGE` and `MODNAME`.
17
-
* Submit PR against the branch created by the team.
15
+
### Examples
16
+
-`linuxserver/mods:code-server-golang-1.13` will install the latest `1.13` release, which is `1.13.10` as of 2020/05/07
17
+
-`linuxserver/mods:code-server-golang-1` will install the latest `1` release, which is `1.14.2` as of 2020/05/07
18
+
-`linuxserver/mods:code-server-golang` will install the latest stable release, which is `1.14.2` as of 2020/05/07
19
+
-`linuxserver/mods:code-server-golang-1.14.2` will install the specific `1.14.2` release
20
+
21
+
Visit https://hub.docker.com/r/linuxserver/mods/tags?page=1&name=code-server-golang to see all available tags
0 commit comments