Skip to content

Commit 2814c31

Browse files
committed
fix: update to node/npm24 to fix build
1 parent e03c9d9 commit 2814c31

3 files changed

Lines changed: 8 additions & 7 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-
node22 \
24-
npm-node22 \
23+
node24 \
24+
npm-node24 \
2525
python3 \
2626
gmake \
2727
pkgconf \
@@ -79,7 +79,7 @@ ARG FREEBSD_ARCH=amd64
7979
ARG APP_VERSION=""
8080
ARG UPSTREAM_URL="https://registry.npmjs.org/code-server/latest"
8181
ARG UPSTREAM_JQ=".version"
82-
ARG PACKAGES="node22 npm-node22 ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain git FreeBSD-ssh ripgrep"
82+
ARG PACKAGES="node24 npm-node24 ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain git FreeBSD-ssh ripgrep"
8383

8484
LABEL org.opencontainers.image.title="code-server" \
8585
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-
node22 \
18-
npm-node22 \
17+
node24 \
18+
npm-node24 \
1919
python3 \
2020
gmake \
2121
pkgconf \
@@ -73,7 +73,7 @@ ARG FREEBSD_ARCH=amd64
7373
ARG APP_VERSION=""
7474
ARG UPSTREAM_URL="https://registry.npmjs.org/code-server/latest"
7575
ARG UPSTREAM_JQ=".version"
76-
ARG PACKAGES="node22 npm-node22 ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain git FreeBSD-ssh ripgrep"
76+
ARG PACKAGES="node24 npm-node24 ca_root_nss libinotify doas python3 gmake gcc llvm FreeBSD-clang FreeBSD-toolchain git FreeBSD-ssh ripgrep"
7777

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

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ services:
4545
- "/path/to/containers/code-server:/config"
4646
ports:
4747
- "8080:8080"
48-
restart: unless-stopped
48+
# always (not unless-stopped) so FreeBSD's podman rc.d auto-starts it at boot
49+
restart: always
4950
```
5051
5152
### AppJail Director

0 commit comments

Comments
 (0)