Skip to content

Commit

Permalink
Add shapes module to Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Rauf Bingol committed Feb 22, 2019
1 parent ac54c66 commit d984f7c
Show file tree
Hide file tree
Showing 9 changed files with 80 additions and 18 deletions.
11 changes: 9 additions & 2 deletions docker/py27-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -31,9 +32,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
10 changes: 8 additions & 2 deletions docker/py27/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -32,10 +33,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/py35-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -31,9 +32,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/py35/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -33,9 +34,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/py36-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -31,9 +32,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/py36/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -33,9 +34,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/py37-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -31,9 +32,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/py37/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -33,9 +34,15 @@ RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN python -c "import geomdl; import geomdl.core; import geomdl.cli"
RUN python -c "import geomdl; import geomdl.core; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down
11 changes: 9 additions & 2 deletions docker/pypy3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ WORKDIR /home/nurbs

RUN git clone https://github.com/orbingol/NURBS-Python.git library \
&& git clone https://github.com/orbingol/NURBS-Python_Examples.git examples \
&& git clone https://github.com/orbingol/geomdl-cli.git app
&& git clone https://github.com/orbingol/geomdl-cli.git app \
&& git clone https://github.com/orbingol/geomdl-shapes.git shapes

ENV PATH="/home/nurbs/.local/bin:${PATH}"

Expand All @@ -35,9 +36,15 @@ RUN pypy3 -m pip install --user --no-cache-dir -r requirements.txt

RUN pypy3 -m pip install --user --no-cache-dir .

WORKDIR /home/nurbs/shapes

RUN pip install --user --no-cache-dir -r requirements.txt

RUN pip install --user --no-cache-dir .

WORKDIR /home/nurbs

RUN pypy3 -c "import geomdl; import geomdl.cli"
RUN pypy3 -c "import geomdl; import geomdl.cli; import geomdl.shapes"

COPY --chown=nurbs:nurbs matplotlibrc .config/matplotlib/matplotlibrc
COPY --chown=nurbs:nurbs README.md .
Expand Down

0 comments on commit d984f7c

Please sign in to comment.