Skip to content

Commit

Permalink
add node option
Browse files Browse the repository at this point in the history
in order not to use ipv6. see nodejs/node#40537
  • Loading branch information
JP3BGY committed May 20, 2024
1 parent f32ffba commit 5ca381e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV TERM screen
ENV NODE_OPTIONS --dns-result-order=ipv4first


# So we can source (see http://goo.gl/oBPi5G)
RUN rm /bin/sh && ln -s /bin/bash /bin/sh

# Ubuntu software that are used by CoCalc (latex, pandoc, sage)
RUN \
apt-get update \
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y\
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
software-properties-common \
texlive \
Expand Down

0 comments on commit 5ca381e

Please sign in to comment.