Skip to content
Snippets Groups Projects
Unverified Commit d33c7523 authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Fix multi-stage Dockerfile used by head images not building version info (#16052)

parent 01a06c97
No related branches found
No related tags found
No related merge requests found
...@@ -60,13 +60,13 @@ COPY --from=drivers /root/.m2/repository/. /root/.m2/repository/. ...@@ -60,13 +60,13 @@ COPY --from=drivers /root/.m2/repository/. /root/.m2/repository/.
COPY --from=drivers /app/source/. . COPY --from=drivers /app/source/. .
# build the app # build the app
RUN INTERACTIVE=false MB_EDITION=$MB_EDITION bin/build uberjar RUN INTERACTIVE=false MB_EDITION=$MB_EDITION bin/build version uberjar
# ################### # ###################
# # STAGE 2: runner # # STAGE 2: runner
# ################### # ###################
## Remember that this runner image needs to be the same as bin/docker/Dockerfile with the exception that this one grabs the ## Remember that this runner image needs to be the same as bin/docker/Dockerfile with the exception that this one grabs the
## jar from the previous stage rather than the local build ## jar from the previous stage rather than the local build
FROM adoptopenjdk/openjdk11:alpine-jre as runner FROM adoptopenjdk/openjdk11:alpine-jre as runner
...@@ -90,4 +90,4 @@ COPY bin/docker/run_metabase.sh /app/ ...@@ -90,4 +90,4 @@ COPY bin/docker/run_metabase.sh /app/
EXPOSE 3000 EXPOSE 3000
# run it # run it
ENTRYPOINT ["/app/run_metabase.sh"] ENTRYPOINT ["/app/run_metabase.sh"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment