Requirements:
- COPY source to_destination
- I am using container registry. So no need to think of persistence.
I created my base dockerfile based on https://github.com/markhobson/docker-maven-chrome
Then when I do
COPY src docker_destination
RUN mvn clean test
It fails multiple interactive UI tests like login from credentials, etc. If I just use mounting using
docker run -it --rm -v "$(pwd)":/src -w /src dockerapp:tag mvn clean test
It works.
How can I make it work with the COPY command instead of VOLUME.?
Aucun commentaire:
Enregistrer un commentaire