Skip to content

Commit 495abf6

Browse files
Fixed pre-installed node version in docker image
1 parent b2a1e48 commit 495abf6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docker/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ RUN apt-get update \
1717
# install aws stuff
1818
# Download correct AWS CLI for arch
1919
RUN if [ "$TARGETARCH" = "arm64" ] || [ "$TARGETARCH" == "aarch64" ]; then \
20-
wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip"; \
20+
wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip"; \
2121
else \
22-
wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip"; \
22+
wget -O /tmp/awscliv2.zip "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip"; \
2323
fi && \
2424
unzip /tmp/awscliv2.zip -d /tmp/aws-cli && \
2525
/tmp/aws-cli/aws/install && \
@@ -28,9 +28,9 @@ RUN if [ "$TARGETARCH" = "arm64" ] || [ "$TARGETARCH" == "aarch64" ]; then \
2828
# Install ASDF
2929
RUN ASDF_VERSION=$(awk '!/^#/ && NF {print $1; exit}' /tmp/.tool-versions.asdf) && \
3030
if [ "$TARGETARCH" = "arm64" ] || [ "$TARGETARCH" = "aarch64" ]; then \
31-
wget -O /tmp/asdf.tar.gz https://github.com/asdf-vm/asdf/releases/download/v${ASDF_VERSION}/asdf-v${ASDF_VERSION}-linux-arm64.tar.gz; \
31+
wget -O /tmp/asdf.tar.gz https://github.com/asdf-vm/asdf/releases/download/v${ASDF_VERSION}/asdf-v${ASDF_VERSION}-linux-arm64.tar.gz; \
3232
else \
33-
wget -O /tmp/asdf.tar.gz https://github.com/asdf-vm/asdf/releases/download/v${ASDF_VERSION}/asdf-v${ASDF_VERSION}-linux-amd64.tar.gz; \
33+
wget -O /tmp/asdf.tar.gz https://github.com/asdf-vm/asdf/releases/download/v${ASDF_VERSION}/asdf-v${ASDF_VERSION}-linux-amd64.tar.gz; \
3434
fi && \
3535
tar -xvzf /tmp/asdf.tar.gz && \
3636
mv asdf /usr/bin
@@ -45,7 +45,7 @@ ENV PATH="$PATH:/home/cdkuser/.asdf/shims/:/home/cdkuser/node_modules/.bin"
4545
# Install ASDF plugins
4646
RUN asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
4747
# install some common node versions that are used in builds to speed things up
48-
RUN asdf install nodejs 22.20.0;
48+
RUN asdf install nodejs 24.12.0
4949

5050
# copy files needed for deployment
5151
COPY --chown=cdkuser docker/entrypoint.sh /home/cdkuser/

0 commit comments

Comments
 (0)