Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing cron package #747

Merged
merged 2 commits into from
Mar 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 6 additions & 9 deletions neuroscout/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,12 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

RUN apt-get -qq update
RUN apt-get install -yq ffmpeg tesseract-ocr
RUN apt-get install -yq ffmpeg tesseract-ocr apt-transport-https
RUN pip install -e git+https://github.com/tyarkoni/pliers.git#egg=pliers
RUN pip install clarifai duecredit google-api-python-client IndicoIo librosa>=0.6.3 pysrt pytesseract spacy rev_ai
RUN python -m pliers.support.download
RUN python -m pliers.support.setup_yamnet
RUN apt-get install apt-transport-https

RUN wget -O- http://neuro.debian.net/lists/stretch.us-nh.full | tee /etc/apt/sources.list.d/neurodebian.sources.list
RUN apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net 0xA5D32F012649A5A9
RUN apt-get update
RUN apt-get install -yq datalad
RUN pip install datalad
RUN wget -O- http://neuro.debian.net/lists/stretch.us-nh.full | tee /etc/apt/sources.list.d/neurodebian.sources.list && apt-key adv --recv-keys --keyserver hkp://pool.sks-keyservers.net 0xA5D32F012649A5A9
RUN apt-get update && apt-get install -yq datalad && pip install datalad

RUN curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN echo "deb https://deb.nodesource.com/node_11.x jessie main" | tee /etc/apt/sources.list.d/nodesource.list
Expand All @@ -26,8 +20,11 @@ RUN apt-get install -y nodejs
RUN npm install -g yarn

COPY requirements.txt /usr/src/app/
COPY optional_requirements.txt /usr/src/app
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r optional_requirements.txt
RUN python -m pliers.support.download
RUN python -m pliers.support.setup_yamnet

COPY . /usr/src/app

Expand Down
1 change: 1 addition & 0 deletions neuroscout/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
altair
alembic==1.3.1
apispec==1.1.0
appdirs==1.4.3
blinker==1.4
Expand Down
1 change: 1 addition & 0 deletions postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM postgres:12
RUN apt-get update && apt-get install -y dos2unix
RUN apt-get install -yq python-pip python-dev build-essential
RUN apt-get install -yq cron
RUN pip install awscli
COPY pg_dump-to-s3 /home
RUN chmod +x /home/pg_dump-to-s3.sh /home/s3-autodelete.sh
Expand Down