File tree Expand file tree Collapse file tree 6 files changed +3
-8
lines changed
Expand file tree Collapse file tree 6 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ FILECHECKER_IMAGE_TAG=develop
44#availables tags at https://github.com/OneArgo/ArgoFormatChecker/tags + develop + latest
55
66# External directories to mount to the container
7- FILECHECKER_SPEC_VOLUME=./file_checker_spec
87FILECHECKER_INPUT_VOLUME=./demo/inputs/3901945
98FILECHECKER_OUTPUT_VOLUME=./demo/outputs/3901945
109
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ FILECHECKER_IMAGE_TAG=develop
44#availables tags at https://github.com/OneArgo/ArgoFormatChecker/tags + develop + latest
55
66# External directories to mount to the container
7- FILECHECKER_SPEC_VOLUME=./file_checker_spec
87FILECHECKER_INPUT_VOLUME=./demo/inputs/2903996
98FILECHECKER_OUTPUT_VOLUME=./demo/outputs/2903996
109
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ FILECHECKER_IMAGE_TAG=develop
44#availables tags at https://github.com/OneArgo/ArgoFormatChecker/tags + develop + latest
55
66# External directories to mount to the container
7- FILECHECKER_SPEC_VOLUME=<path to the file_checker_spec directory>
87FILECHECKER_INPUT_VOLUME=<path to input directory>
98FILECHECKER_OUTPUT_VOLUME=<path to output directory>
109
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ RUN set -e \
3838# Copy the built jar file to the runtime stage
3939COPY --from=builder --chown=root:gcontainer --chmod=750 /build/target/file_checker*.jar app.jar
4040# Copy the specs :
41- COPY . /file_checker_spec /app/file_checker_spec
41+ COPY /file_checker_spec /app/file_checker_spec
4242# Specify the default command for running the app
4343ENTRYPOINT ["java" , "-jar" , "/app/app.jar" ]
4444
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ docker run --rm -v [ABSOLUTE_PATH_TO_SPEC]:/app/file_checker_spec -v [ABSOLUTE_P
4040
4141You need to mount external directories to the container :
4242
43- [ ABSOLUTE_PATH_TO_SPEC] : OPTIONAL - The file_checker_spec directory path.
43+ [ ABSOLUTE_PATH_TO_SPEC] : OPTIONAL - The file_checker_spec directory path (if you don't want to use the specs included in the docker container) .
4444
4545[ ABSOLUTE_PATH_TO_DATA_FOLDER] : Path to directory containing the argo necdf files to be checked. The fileChecker will not seek files in subfolders
4646
@@ -79,7 +79,6 @@ FILECHECKER_IMAGE=ghcr.io/oneargo/argoformatchecker/app
7979FILECHECKER_IMAGE_TAG=develop
8080
8181# External directories to mount to the container
82- FILECHECKER_SPEC_VOLUME='D:\test_compose\file_checker_spec'
8382FILECHECKER_INPUT_VOLUME='D:\test_compose\data'
8483FILECHECKER_OUTPUT_VOLUME='D:\test_compose\results'
8584
Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ services:
55 user : " ${DOCKER_UID:-0}:${DOCKER_GID:-0}"
66 group_add :
77 - 1001
8- volumes :
9- - ${FILECHECKER_SPEC_VOLUME}:/app/file_checker_spec:ro
8+ volumes :
109 - ${FILECHECKER_INPUT_VOLUME}:/app/data:ro
1110 - ${FILECHECKER_OUTPUT_VOLUME}:/app/results:rw
1211 command : ${FILECHECKER_OPTIONS} ${DAC_NAME} ./file_checker_spec ./results ./data ${FILES_NAMES}
You can’t perform that action at this time.
0 commit comments