File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,14 @@ RUN /usr/bin/apt-install Aptfile
3434
3535USER noteable
3636
37- ENV PATH="/srv/noteable/.cargo/bin:${PATH}"
38-
39- # install deno from latest commit when jupyter2 branch was merged
40- # TODO: update this once merged to main branch and use package install instead
41- RUN cargo install \
42- --git https://github.com/denoland/deno \
43- --rev bf0760411336ce5ebb1c103f766c8154af478414 \
44- --features __runtime_js_sources \
45- deno
37+ # use the deno installer and upgrade to the latest (canary) build
38+ # https://docs.deno.com/runtime/manual/references/contributing/release_schedule
39+ ENV DENO_INSTALL=/srv/noteable
40+ SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
41+ RUN curl -fsSL https://deno.land/x/install/install.sh | sh
42+ # deno installs to `DENO_INSTALL/bin`, so we'll add to PATH for follow-on deno commands
43+ ENV PATH="${DENO_INSTALL}/bin/:${PATH}"
44+ RUN deno upgrade --canary
4645
4746# the kernel needs the deno kernelspec discoverable locally before it can start
4847# hadolint ignore=DL3059
You can’t perform that action at this time.
0 commit comments