Skip to content

Commit

Permalink
Add required dependencies to fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
  • Loading branch information
RomanNikitenko committed Aug 4, 2023
1 parent 6bcdbb7 commit b7bc61b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/dockerfiles/linux-libc.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ RUN { if [[ $(uname -m) == "s390x" ]]; then LIBSECRET="\
else \
LIBKEYBOARD=""; echo "Warning: arch $(uname -m) not supported"; \
fi; } \
&& yum install -y $LIBSECRET $LIBKEYBOARD curl make cmake gcc gcc-c++ python2 git git-core-doc openssh less libX11-devel libxkbcommon krb5-devel bash tar gzip rsync patch npm \
&& yum install -y $LIBSECRET $LIBKEYBOARD curl make cmake gcc gcc-c++ python3.9 git git-core-doc openssh less libX11-devel libxkbcommon krb5-devel bash tar gzip rsync patch npm \
&& yum -y clean all && rm -rf /var/cache/yum \
&& npm install -g yarn@1.22.17
&& npm install -g yarn@1.22.17 && npm install -g node-gyp

#########################################################
#
Expand All @@ -68,6 +68,7 @@ RUN { if [[ $(uname -m) == "s390x" ]]; then LIBSECRET="\
#########################################################
COPY code /checode-compilation
COPY --from=nodejs-content /usr/local/bin/node /checode-compilation/nodejs/bin/node
COPY --from=nodejs-content /usr/local/bin/node /usr/bin/node

ENV NODE_PATH=/checode-compilation/nodejs/bin/node
ENV PATH=/checode-compilation/nodejs/bin:$PATH
Expand Down

0 comments on commit b7bc61b

Please sign in to comment.