Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodejs 20.19.1
nodejs 20.19.4
python 3.12.7
poetry 1.8.3
shellcheck 0.10.0
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ ENV PATH="$PATH:/home/cdkuser/.asdf/bin/:/home/cdkuser/node_modules/.bin"
# Install ASDF plugins
RUN asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
# install some common node versions that are used in builds to speed things up
RUN asdf install nodejs 20.19.1; \
asdf install nodejs 23.9.0
RUN asdf install nodejs 20.19.4; \
asdf install nodejs 23.11.1
# update npm
RUN export ASDF_DIR=/home/cdkuser/.asdf && \
. /home/cdkuser/.asdf/asdf.sh && \
asdf shell nodejs 20.19.1 && \
cd ~/.asdf/installs/nodejs/20.19.1/lib && npm update npm
asdf shell nodejs 20.19.4 && \
cd ~/.asdf/installs/nodejs/20.19.4/lib && npm update npm

# copy files needed for deployment
COPY --chown=cdkuser docker/entrypoint.sh /home/cdkuser/
Expand Down
Loading