Commit c1340ae6 authored by Martin Nolte's avatar Martin Nolte

[bugfix] make Docker image build with recent version of Docker

Bug: The outcommented variant running `chown` within the container neither
     failed nor changed ownership on my machine.
parent 8970c30d
......@@ -11,12 +11,9 @@ RUN apt-get install --yes --no-install-recommends \
ADD install-twophasedg.sh /root/
RUN /root/install-twophasedg.sh
USER dune
WORKDIR /dune
RUN cp -r /usr/local/share/doc/dune-fempy/jupyter /dune/dune-fempy
# COPY --chown=dune:dune twophaseflow.ipynb limit.py utility.hh /dune/
COPY twophaseflow.ipynb limit.py utility.hh /dune/
RUN chown -R dune:dune /dune/twophaseflow.ipynb
RUN chown -R dune:dune /dune/limit.py
RUN chown -R dune:dune /dune/utility.hh
COPY --chown=dune:dune twophaseflow.ipynb limit.py utility.hh /dune/
# COPY twophaseflow.ipynb limit.py utility.hh /dune/
# RUN chown dune:dune /dune/twophaseflow.ipynb /dune/limit.py /dune/utility.hh
USER dune
......@@ -36,7 +36,7 @@ please follow these steps:
1. Push the Docker image:
```
docker push registry.dune-project.org/andreas.dedner/twophasedg:latest
docker push registry.dune-project.org/dune-fem/twophaseflow:latest
```
This step actually updates the Docker image on the server.
......
Markdown is supported
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