Skip to content

Commit

Permalink
fix nodejs20 build image
Browse files Browse the repository at this point in the history
  • Loading branch information
hawflau committed Nov 12, 2023
1 parent 1b152f8 commit 26f3efe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-image-src/Dockerfile-nodejs20x
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ RUN dnf groupinstall -y development && \
python3-devel \
&& dnf clean all

# Remove conflicted libssl.so and libcrypto.so files
RUN rm -f /var/lang/lib/libcrypto.so \
/var/lang/lib/libcrypto.so.3 \
/var/lang/lib/libssl.so \
/var/lang/lib/libssl.so.3

# Install AWS CLI
ARG AWS_CLI_ARCH
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-$AWS_CLI_ARCH.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install && rm awscliv2.zip && rm -rf ./aws
Expand Down

0 comments on commit 26f3efe

Please sign in to comment.