Finalize Dockerfile move; unfortunately not supported by Docker Hub
Unfortunately because of this issue https://github.com/docker/hub-feedback/issues/292 Docker Hub effectively automatically changes directory to the location of Dockerfile, meaning needed files are not in the right places, so this has to be reverted.
This commit is contained in:
+1
-1
@@ -51,4 +51,4 @@ WORKDIR /home/docker
|
||||
|
||||
# Must use array form of ENTRYPOINT
|
||||
# Non-array form does not append other arguments, because that is "intuitive"
|
||||
ENTRYPOINT ["/application/docker-wrapper.sh"]
|
||||
ENTRYPOINT ["/application/.docker/docker-wrapper.sh"]
|
||||
|
||||
@@ -16,4 +16,4 @@ USER docker
|
||||
|
||||
# Must use array form of ENTRYPOINT
|
||||
# Non-array form does not append other arguments, because that is "intuitive"
|
||||
ENTRYPOINT ["/application/docker-wrapper.sh"]
|
||||
ENTRYPOINT ["/application/.docker/docker-wrapper.sh"]
|
||||
@@ -61,4 +61,4 @@ WORKDIR /home/docker
|
||||
|
||||
# Must use array form of ENTRYPOINT
|
||||
# Non-array form does not append other arguments, because that is "intuitive"
|
||||
ENTRYPOINT ["/application/docker-wrapper.sh"]
|
||||
ENTRYPOINT ["/application/.docker/docker-wrapper.sh"]
|
||||
|
||||
+5
-3
@@ -7,9 +7,11 @@ include dev_requirements.txt
|
||||
include .git_archival.txt
|
||||
|
||||
# docker
|
||||
include Dockerfile
|
||||
include Dockerfile.polyglot
|
||||
include .dockerignore
|
||||
include .docker/main.docker
|
||||
include .docker/polyglot.docker
|
||||
include .docker/tess4.docker
|
||||
include .docker/docker-wrapper.sh
|
||||
|
||||
# tests
|
||||
include pytest.ini
|
||||
@@ -43,6 +45,6 @@ exclude tasks.py
|
||||
recursive-include ocrmypdf *.py
|
||||
exclude ocrmypdf/lib/_leptonica.py
|
||||
include OCRmyPDF.sh
|
||||
include docker-wrapper.sh
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user