Skip to content

Commit 833611e

Browse files
committed
Include global k option.
1 parent 7db51ea commit 833611e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y \
1313
gnupg \
1414
git
1515

16-
RUN update-ca-certificates
17-
16+
RUN echo "-k" > ~/.curlrc
1817
# add yarn repo
1918
RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
2019
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
2120

2221
# install nvm and node 13.8.0
2322
SHELL ["/bin/bash", "--login", "-c"]
24-
RUN curl -o- -k https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
23+
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
2524
RUN nvm install 16.5.0
2625
# ENV NODE_VERSION=16.5.0
2726
# RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

0 commit comments

Comments
 (0)