Skip to content
Snippets Groups Projects
Commit 6ee6bc51 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Remove useless docker dir

parent 8a0f6855
No related merge requests found
FROM python:3
MAINTAINER Matthieu Boileau <matthieu.boileau@math.unistra.fr>
RUN apt-get update --fix-missing && \
apt-get install -y \
python-dev \
vim
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN pip install --no-cache-dir virtualenv
RUN pip install --no-cache-dir --upgrade pip
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN useradd -m -s /bin/bash euler
ENV HOME /home/euler
RUN chown -R euler:euler /home/euler
USER euler
WORKDIR $HOME
RUN virtualenv --python=/usr/bin/python2.7 $HOME/py27
COPY requirements.txt /tmp/
RUN $HOME/py27/bin/pip install --no-cache-dir -r /tmp/requirements.txt
CMD /bin/bash
FROM boileaum/pythran:latest
MAINTAINER Matthieu Boileau <matthieu.boileau@math.unistra.fr>
ENV HOME /home/euler
ADD . $HOME/rosen
USER root
RUN chown -R euler:euler /home/euler
WORKDIR $HOME/rosen
USER euler
RUN make clean && make
CMD /bin/bash
version: '2'
services:
env:
build:
context: ../
dockerfile: docker/Dockerfile-pythran
image: boileaum/pythran:latest
user:
build:
context: ../
dockerfile: docker/Dockerfile-rosen
image: boileaum/rosen:latest
depends_on:
- env
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment