Skip to content

Commit

Permalink
cleanup in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aelanman committed Dec 12, 2022
1 parent bffc2f9 commit 89b3643
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,24 @@ FROM python:3.7-slim
## The maintainer name and email
LABEL maintainer="CHIME/FRB Collaboration"

ADD . /coco

RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get install -y software-properties-common && \
apt-get install -y git && \
apt-get install -y build-essential && \
apt-get install -y libmariadb-dev && \
apt-get install -y python3-sphinx && \
apt-get install -y libevent-dev && \
apt-get install -y libhdf5-dev && \
apt-get install -y g++ && \
pip install flask && \
pip install coverage && \
pip install pytest-cov && \
pip install sphinx_rtd_theme && \
git clone --branch aioredis_v2 https://github.com/chime-experiment/coco.git && \
pip install -r /coco/requirements.txt && \
pip install /coco
pip install /coco && \

#-----------------------
# Minimize container size
#-----------------------
apt-get remove -y curl git && \
apt-get autoremove -y && \
apt-get clean -y && \
rm -rf /tmp/build

0 comments on commit 89b3643

Please sign in to comment.