mirror of
https://github.com/kennethnym/jrx.git
synced 2026-03-20 03:41:18 +00:00
Install bun from Dockerfile instead of devcontainer feature
Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -4,3 +4,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|||||||
&& apt-get -y install --no-install-recommends \
|
&& apt-get -y install --no-install-recommends \
|
||||||
curl unzip git ca-certificates \
|
curl unzip git ca-certificates \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN curl -fsSL https://bun.sh/install | bash \
|
||||||
|
&& ln -s /root/.bun/bin/bun /usr/local/bin/bun \
|
||||||
|
&& ln -s /root/.bun/bin/bunx /usr/local/bin/bunx
|
||||||
|
|||||||
@@ -4,8 +4,5 @@
|
|||||||
"context": ".",
|
"context": ".",
|
||||||
"dockerfile": "Dockerfile"
|
"dockerfile": "Dockerfile"
|
||||||
},
|
},
|
||||||
"features": {
|
|
||||||
"ghcr.io/nickvdyck/devcontainer-features/bun:1": {}
|
|
||||||
},
|
|
||||||
"postCreateCommand": "bun install && cd example && bun install"
|
"postCreateCommand": "bun install && cd example && bun install"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user