mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 08:48:05 +00:00
fix CI build, see python-poetry/poetry#2106
This commit is contained in:
parent
ad0d313cd9
commit
eca538782f
1 changed files with 7 additions and 2 deletions
|
|
@ -4,12 +4,17 @@ ENV LANG=C.UTF-8
|
|||
WORKDIR /tmp
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y git curl net-tools \
|
||||
&& curl -sL https://deb.nodesource.com/setup_13.x | bash - \
|
||||
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
|
||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y python3 python3-pip python3-venv redis-server nodejs yarn \
|
||||
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 \
|
||||
# && curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 \
|
||||
#
|
||||
# Pinning Poetry installer to this specific version. As of 2020 07 24, the script from master
|
||||
# fails to install due to Python 2's executable matching first. See #2106
|
||||
#
|
||||
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/e70ee3112ab06374dfef4ab84e6dded2382cc7dd/get-poetry.py | python3 \
|
||||
&& python3 --version \
|
||||
&& echo "NodeJS $(node --version)" \
|
||||
&& echo "Yarn $(yarn --version)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue