Skip to content

Commit

Permalink
let npm determine the correct @swc/core version
Browse files Browse the repository at this point in the history
  • Loading branch information
tough-griff committed Feb 5, 2025
1 parent 23fa823 commit 6946ca4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ ARG VERSION=4.18.0
RUN set -xe \
&& mkdir -p /contrast \
&& npm install --prefix /contrast @contrast/agent@${VERSION} \
&& npm install --prefix /contrast @swc/core@1.3.39 --libc=glibc \
&& npm install --prefix /contrast @swc/core@1.3.39 --libc=musl \
&& npm install --prefix /contrast @swc/core --libc=glibc \
&& npm install --prefix /contrast @swc/core --libc=musl \
&& echo "{ \"version\": \"${VERSION}\" }" > /contrast/image-manifest.json

FROM busybox:stable AS final
Expand Down

0 comments on commit 6946ca4

Please sign in to comment.