Skip to content

Commit 68fdbc1

Browse files
committed
Fix the build
1 parent f93ede7 commit 68fdbc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ARG CACHE_BUST
1515
# Build the distro, but only deploy from the amd64 build
1616
RUN --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

2020
RUN 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
2525
RUN 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)

0 commit comments

Comments
 (0)