Skip to content
Snippets Groups Projects
Unverified Commit 35892086 authored by Luis Paolini's avatar Luis Paolini Committed by GitHub
Browse files

Add Metabase version argument to Dockerfile (#36402)

* Add version to Dockerfile

When you want to build with a specific version, you need to pass it on the build args

* Update Dockerfile
parent 6e8e6f07
No related merge requests found
......@@ -5,6 +5,7 @@
FROM node:18-bullseye as builder
ARG MB_EDITION=oss
ARG VERSION
WORKDIR /home/node
......@@ -18,7 +19,7 @@ COPY . .
# version is pulled from git, but git doesn't trust the directory due to different owners
RUN git config --global --add safe.directory /home/node
RUN INTERACTIVE=false CI=true MB_EDITION=$MB_EDITION bin/build.sh
RUN INTERACTIVE=false CI=true MB_EDITION=$MB_EDITION bin/build.sh :version ${VERSION}
# ###################
# # STAGE 2: runner
......
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