fix: install bun then move binary to /usr/local/bin
This commit is contained in:
@@ -12,9 +12,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
nano vim htop netcat-openbsd dnsutils iputils-ping \
|
nano vim htop netcat-openbsd dnsutils iputils-ping \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Bun — install to /usr/local so it's on the image filesystem, not the /root PVC
|
# Bun — install then move to /usr/local/bin so it's on the image filesystem, not the /root PVC
|
||||||
RUN curl -fsSL https://bun.sh/install | bash -s -- --install-dir /usr/local/bin \
|
RUN curl -fsSL https://bun.sh/install | bash \
|
||||||
&& ln -sf /usr/local/bin/bun /usr/local/bin/bunx
|
&& mv /root/.bun/bin/bun /usr/local/bin/bun \
|
||||||
|
&& ln -sf /usr/local/bin/bun /usr/local/bin/bunx \
|
||||||
|
&& rm -rf /root/.bun
|
||||||
|
|
||||||
# code-server (VS Code in browser)
|
# code-server (VS Code in browser)
|
||||||
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
||||||
|
|||||||
Reference in New Issue
Block a user