Skip to content

Commit aafbfd5

Browse files
committed
include specs in docker image
1 parent 6b35234 commit aafbfd5

File tree

6 files changed

+3
-8
lines changed

6 files changed

+3
-8
lines changed

.env.demo.bodc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
87
FILECHECKER_INPUT_VOLUME=./demo/inputs/3901945
98
FILECHECKER_OUTPUT_VOLUME=./demo/outputs/3901945
109

.env.demo.coriolis

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
87
FILECHECKER_INPUT_VOLUME=./demo/inputs/2903996
98
FILECHECKER_OUTPUT_VOLUME=./demo/outputs/2903996
109

.env.docs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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>
87
FILECHECKER_INPUT_VOLUME=<path to input directory>
98
FILECHECKER_OUTPUT_VOLUME=<path to output directory>
109

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN set -e \
3838
# Copy the built jar file to the runtime stage
3939
COPY --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
4343
ENTRYPOINT ["java", "-jar", "/app/app.jar"]
4444

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ docker run --rm -v [ABSOLUTE_PATH_TO_SPEC]:/app/file_checker_spec -v [ABSOLUTE_P
4040

4141
You 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
7979
FILECHECKER_IMAGE_TAG=develop
8080
8181
# External directories to mount to the container
82-
FILECHECKER_SPEC_VOLUME='D:\test_compose\file_checker_spec'
8382
FILECHECKER_INPUT_VOLUME='D:\test_compose\data'
8483
FILECHECKER_OUTPUT_VOLUME='D:\test_compose\results'
8584

compose.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)