Skip to content

Commit

Permalink
Merge pull request #176 from theohbrothers/enhancement/bump-code-serv…
Browse files Browse the repository at this point in the history
…er-4.91-variants-to-4.91.1

Enhancement: Bump code-server 4.91 variants to 4.91.1
  • Loading branch information
theohbrothersbot authored Jul 18, 2024
2 parents 013b011 + bee1d2b commit aba957c
Show file tree
Hide file tree
Showing 18 changed files with 1,914 additions and 94 deletions.
162 changes: 81 additions & 81 deletions .github/workflows/ci-master-pr.yml

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Dockerized [`code-server`](https://github.com/coder/code-server).

| Tag | Dockerfile Build Context |
|:-------:|:---------:|
| `:4.91.0`, `:latest` | [View](variants/4.91.0) |
| `:4.91.0-docker` | [View](variants/4.91.0-docker) |
| `:4.91.0-docker-go-1.20.14` | [View](variants/4.91.0-docker-go-1.20.14) |
| `:4.91.0-docker-rootless` | [View](variants/4.91.0-docker-rootless) |
| `:4.91.0-docker-rootless-go-1.20.14` | [View](variants/4.91.0-docker-rootless-go-1.20.14) |
| `:4.91.1`, `:latest` | [View](variants/4.91.1) |
| `:4.91.1-docker` | [View](variants/4.91.1-docker) |
| `:4.91.1-docker-go-1.20.14` | [View](variants/4.91.1-docker-go-1.20.14) |
| `:4.91.1-docker-rootless` | [View](variants/4.91.1-docker-rootless) |
| `:4.91.1-docker-rootless-go-1.20.14` | [View](variants/4.91.1-docker-rootless-go-1.20.14) |
| `:4.90.3` | [View](variants/4.90.3) |
| `:4.90.3-docker` | [View](variants/4.90.3-docker) |
| `:4.90.3-docker-go-1.20.14` | [View](variants/4.90.3-docker-go-1.20.14) |
Expand Down Expand Up @@ -91,7 +91,7 @@ Dockerized [`code-server`](https://github.com/coder/code-server).
| `:4.11.0-docker-rootless` | [View](variants/4.11.0-docker-rootless) |
| `:4.11.0-docker-rootless-go-1.20.14` | [View](variants/4.11.0-docker-rootless-go-1.20.14) |

Base variants are based on `alpine`, and include `npm 8` and `nodejs 16` (to run `code-server`), `pwsh`, and basic tools. E.g. `4.91.0`
Base variants are based on `alpine`, and include `npm 8` and `nodejs 16` (to run `code-server`), `pwsh`, and basic tools. E.g. `4.91.1`

Incremental variants include additional tools and their `code` extensions:

Expand All @@ -104,29 +104,29 @@ Incremental variants include additional tools and their `code` extensions:
### Base variant(s)

```sh
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.0
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.1
# code-server is now available at http://127.0.0.1:8080. To login, use the password in the config file:
docker exec code-server sh -c 'cat ~/.config/code-server/config.yaml'
```

To disable password authentication, use `--auth=none`:

```sh
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.0 --bind-addr=0.0.0.0:8080 --auth=none --disable-telemetry --disable-update-check
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.1 --bind-addr=0.0.0.0:8080 --auth=none --disable-telemetry --disable-update-check
```

### `docker` variant(s)

```sh
docker run --name code-server --rm -it --privileged -v docker:/var/lib/docker -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.0-docker
docker run --name code-server --rm -it --privileged -v docker:/var/lib/docker -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.1-docker
# code-server is now available at http://127.0.0.1:8080. To login, use the password in the config file:
docker exec code-server sh -c 'cat ~/.config/code-server/config.yaml'
```

To disable password authentication, use `--auth=none`:

```sh
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.0-docker --bind-addr=0.0.0.0:8080 --auth=none --disable-telemetry --disable-update-check
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.1-docker --bind-addr=0.0.0.0:8080 --auth=none --disable-telemetry --disable-update-check
```

#### docker buildx
Expand Down Expand Up @@ -154,15 +154,15 @@ docker buildx build ...
### `docker-rootless` variant(s)

```sh
docker run --name code-server --rm -it --privileged -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.0-docker-rootless
docker run --name code-server --rm -it --privileged -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.1-docker-rootless
# code-server is now available at http://127.0.0.1:8080. To login, use the password in the config file:
docker exec code-server sh -c 'cat ~/.config/code-server/config.yaml'
```

To start code-server without password authentication, use `--auth=none`:

```sh
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.0-docker-rootless --bind-addr=0.0.0.0:8080 --auth=none --disable-telemetry --disable-update-check
docker run --name code-server --rm -it -p 127.0.0.1:8080:8080 theohbrothers/docker-code-server:4.91.1-docker-rootless --bind-addr=0.0.0.0:8080 --auth=none --disable-telemetry --disable-update-check
```

To build multi-arch images using `docker buildx`, see [here](#docker-buildx).
Expand Down
2 changes: 1 addition & 1 deletion generate/definitions/versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"code-server": {
"versions": [
"4.91.0",
"4.91.1",
"4.90.3",
"4.89.1",
"4.23.1",
Expand Down
Loading

0 comments on commit aba957c

Please sign in to comment.