Skip to content

Commit 23139c0

Browse files
committed
fix: node24->22 & registry
1 parent 7974d8a commit 23139c0

3 files changed

Lines changed: 14 additions & 11 deletions

File tree

Containerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ RUN pkg update && \
2020
FreeBSD-toolchain \
2121
FreeBSD-clibs-dev \
2222
FreeBSD-runtime-dev \
23-
node \
24-
npm \
23+
node22 \
24+
npm-node22 \
2525
python3 \
2626
gmake \
2727
pkgconf \
@@ -78,7 +78,7 @@ ARG FREEBSD_ARCH=amd64
7878
ARG APP_VERSION=""
7979
ARG UPSTREAM_URL="https://registry.npmjs.org/code-server/latest"
8080
ARG UPSTREAM_JQ=".version"
81-
ARG PACKAGES="node npm ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain"
81+
ARG PACKAGES="node22 npm-node22 ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain"
8282

8383
LABEL org.opencontainers.image.title="code-server" \
8484
org.opencontainers.image.description="code-server on FreeBSD." \

Containerfile.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ RUN pkg update && \
1414
FreeBSD-toolchain \
1515
FreeBSD-clibs-dev \
1616
FreeBSD-runtime-dev \
17-
node \
18-
npm \
17+
node22 \
18+
npm-node22 \
1919
python3 \
2020
gmake \
2121
pkgconf \
@@ -72,7 +72,7 @@ ARG FREEBSD_ARCH=amd64
7272
ARG APP_VERSION=""
7373
ARG UPSTREAM_URL="https://registry.npmjs.org/code-server/latest"
7474
ARG UPSTREAM_JQ=".version"
75-
ARG PACKAGES="node npm ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain"
75+
ARG PACKAGES="node22 npm-node22 ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain"
7676

7777
LABEL org.opencontainers.image.title="code-server" \
7878
org.opencontainers.image.description="code-server on FreeBSD." \

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ code-server on FreeBSD.
1313
| | |
1414
|---|---|
1515
| **Port** | 8080 |
16-
| **Registry** | `localhost/code-server` |
16+
| **Registry** | `ghcr.io/daemonless/code-server` |
1717
| **Source** | [https://github.com/coder/code-server](https://github.com/coder/code-server) |
1818
| **Website** | [https://coder.com/docs/code-server](https://coder.com/docs/code-server) |
1919

@@ -34,7 +34,7 @@ Before deploying, ensure your host environment is ready. See the [Quick Start Gu
3434
```yaml
3535
services:
3636
code-server:
37-
image: localhost/code-server:latest
37+
image: ghcr.io/daemonless/code-server:latest
3838
container_name: code-server
3939
environment:
4040
- PUID=1000
@@ -88,7 +88,7 @@ volumes:
8888
ARG tag=latest
8989

9090
OPTION overwrite=force
91-
OPTION from=localhost/code-server:${tag}
91+
OPTION from=ghcr.io/daemonless/code-server:${tag}
9292
```
9393

9494
### Podman CLI
@@ -100,7 +100,7 @@ podman run -d --name code-server \
100100
-e PGID=1000 \
101101
-e TZ=UTC \
102102
-v /path/to/containers/code-server:/config \
103-
localhost/code-server:latest
103+
ghcr.io/daemonless/code-server:latest
104104
```
105105

106106
### Ansible
@@ -109,7 +109,7 @@ podman run -d --name code-server \
109109
- name: Deploy code-server
110110
containers.podman.podman_container:
111111
name: code-server
112-
image: localhost/code-server:latest
112+
image: ghcr.io/daemonless/code-server:latest
113113
state: started
114114
restart_policy: always
115115
env:
@@ -174,3 +174,6 @@ doas appjail cmd jexec code_server pkg install rust cargo
174174
**User:** `bsd` (UID/GID via PUID/PGID, defaults to 1000:1000)
175175
**Base:** FreeBSD 15.0
176176

177+
---
178+
179+
Need help? Join our [Discord](https://discord.gg/Kb9tkhecZT) community.

0 commit comments

Comments
 (0)