@@ -11,7 +11,10 @@ COPY package.json /usr/src/cloudcmd/
1111
1212ENV DEBIAN_FRONTEND = noninteractive \
1313 NVM_DIR =/ usr/ local/ src/ nvm \
14- npm_config_cache=/ tmp/ npm- cache
14+ PREFIX =/ usr/ local \
15+ npm_config_cache=/ tmp/ npm- cache \
16+ PATH =/ usr/ local/ src/ bun/ bin:$PATH \
17+ BUN_INSTALL =/ usr/ local/ src/ bun
1518
1619ARG GO_VERSION = 1.21.2
1720ARG NVIM_VERSION = 0.12.0
@@ -25,18 +28,16 @@ RUN apt-get update && \
2528 apt- get update && \
2629 apt- get autoremove && \
2730 apt- get clean && \
28- echo " > install nvm" && \
29- mkdir $NVM_DIR && \
30- curl - o- https:// raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
31- . ${NVM_DIR }/ nvm.sh && \
32- nvm i node && \
33- ln - fs / ${NVM_DIR }/ versions/ node/ $(node - v)/ bin/ node / usr/ local/ bin/ node && \
34- echo " > install palabra" && \
35- npm i palabra - g && \
31+ echo " > install bun" && \
32+ curl https:// bun.sh/install | bash && \
3633 echo " > install rust go deno bun fasm nvim" && \
37- palabra i rust go deno bun fasm nvim - d / usr/ local/ src && \
34+ bunx palabra i nvm rust go deno fasm nvim - d / usr/ local/ src && \
3835 echo " > install npm globals" && \
39- bun i wisdom nupdate version- io redrun superc8 supertape madrun redlint putout renamify- cli runny redfork - g && \
36+ bun i palabra wisdom nupdate version- io redrun superc8 supertape madrun redlint putout renamify- cli runny redfork - g && \
37+ echo " > install node" && \
38+ mkdir / usr/ local/ node_modules && \
39+ nvm i node && \
40+ ln - fs / ${NVM_DIR }/ versions/ node/ $(node - v)/ bin/ node / usr/ local/ bin/ node && \
4041 echo " > install gritty" && \
4142 bun r gritty -- omit dev && \
4243 bun i gritty -- omit dev && \
@@ -72,6 +73,7 @@ ENV cloudcmd_terminal=true \
7273 cloudcmd_open= false \
7374 PATH = node_modules/ .bin:$PATH \
7475 PATH = ~/ .local/ bin:$PATH \
76+ PATH =/ usr/ local/ src/ bun/ bin:$PATH \
7577 BUN_INSTALL_CACHE_DIR =/ tmp/ bun- cache \
7678 DENO_DIR =/ tmp/ deno- cache \
7779 LANG = en_US.UTF - 8 \
0 commit comments