Skip to content

Commit

Permalink
docker: slimmer image
Browse files Browse the repository at this point in the history
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
  • Loading branch information
tiborsimko committed Mar 22, 2019
1 parent fb3ba61 commit f0325b1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
23 changes: 20 additions & 3 deletions Dockerfile
Expand Up @@ -5,9 +5,26 @@
# under the terms of the MIT License; see LICENSE file for more details.

FROM fedora:25
RUN dnf -y update && \
dnf install -y gcc gcc-c++ graphviz-devel ImageMagick python-devel libffi-devel openssl openssl-devel openssh-clients unzip nano autoconf automake libtool python-pip git &&\
dnf install -y dnf redhat-rpm-config
RUN dnf update -y && \
dnf install -y \
ImageMagick \
autoconf \
automake \
gcc \
gcc-c++ \
git \
graphviz-devel \
libffi-devel \
libtool \
openssh-clients \
openssl \
openssl-devel \
python-devel \
python-pip \
unzip \
vim-minimal && \
dnf install -y dnf redhat-rpm-config && \
dnf clean all

RUN pip install --upgrade pip

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -49,12 +49,12 @@

install_requires = [
'adage==0.8.5',
'celery>=4.2.1,<4.3',
'celery>=4.1.0,<4.3',
'click>=7,<8',
'enum34>=1.1.6',
'packtivity==0.10.0',
'pyOpenSSL==17.5.0', # FIXME remove once yadage-schemas solves deps.
'reana-commons[kubernetes]>=0.5.0.dev20190220,<0.6.0',
'reana-commons[kubernetes]>=0.5.0.dev20190322,<0.6.0',
'requests==2.20.0',
'rfc3987==1.3.7', # FIXME remove once yadage-schemas solves deps.
'strict-rfc3339==0.7', # FIXME remove once yadage-schemas solves deps.
Expand Down

0 comments on commit f0325b1

Please sign in to comment.