File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ARG CACHE_BUST
1515# Build the distro, but only deploy from the amd64 build
1616RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml \
1717 if [ "$(arch)" != "x86_64" ]; then MVN_ARGS="$MVN_ARGS -Dmaven.deploy.skip=true" ; fi && \
18- mvn $MVN_COMMAND
18+ mvn $MVN_ARGS $ MVN_COMMAND
1919
2020RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
2121
@@ -25,7 +25,7 @@ RUN cp -R /openmrs_distro/distro/target/sdk-distro/web/openmrs_owas /openmrs/dis
2525RUN cp -R /openmrs_distro/distro/target/sdk-distro/web/openmrs_config /openmrs/distribution/openmrs_config/
2626
2727# Clean up after copying needed artifacts
28- RUN mvn $MVN_ARGS_SETTINGS clean
28+ RUN mvn $MVN_ARGS clean
2929
3030# ## Run Stage
3131# Replace '2.7.x' with the exact version of openmrs-core built for production (if available)
You can’t perform that action at this time.
0 commit comments