Add therapist docker image
This commit is contained in:
Родитель
f56c40ec64
Коммит
b5ce21197a
|
@ -45,3 +45,7 @@ workflows:
|
|||
- build-and-deploy-image:
|
||||
name: rust-build-and-deploy
|
||||
imageName: rust
|
||||
|
||||
- build-and-deploy-image:
|
||||
name: therapist-build-and-deploy
|
||||
imageName: therapist
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
# Latest stable Python 3
|
||||
FROM python:3-stretch
|
||||
|
||||
LABEL maintainer="Rehan Dalal <rdalal@mozilla.com>"
|
||||
|
||||
# Install node prereqs, nodejs and yarn
|
||||
# Ref: https://deb.nodesource.com/setup_10.x
|
||||
# Ref: https://yarnpkg.com/en/docs/install
|
||||
RUN apt-get update && \
|
||||
apt-get install -yqq apt-transport-https
|
||||
RUN echo "deb https://deb.nodesource.com/node_10.x stretch main" > /etc/apt/sources.list.d/nodesource.list && \
|
||||
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
|
||||
wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||
apt-get update && \
|
||||
apt-get install -yqq nodejs yarn && \
|
||||
npm i -g npm@^6 && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Upgrade pip and install therapist
|
||||
RUN pip install -U pip therapist
|
Загрузка…
Ссылка в новой задаче