Skip to content

Commit

Permalink
Set the version as a build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
filipenf committed Oct 10, 2023
1 parent 5bc8281 commit c6a2112
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mcrouter/scripts/docker/ubuntu/Dockerfile-20.04
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ COPY --from=build-fbthrift $PKG_DIR $PKG_DIR

COPY ./mcrouter $MCROUTER_DIR/repo/mcrouter/

RUN echo "2022-10-02" > $MCROUTER_DIR/repo/mcrouter/VERSION
ARG MCROUTER_VERSION=undefined
RUN echo "${MCROUTER_VERSION}" > $MCROUTER_DIR/repo/mcrouter/VERSION

RUN $MCROUTER_DIR/repo/mcrouter/scripts/recipes/mcrouter.sh $PKG_DIR $INSTALL_DIR $INSTALL_AUX_DIR

Expand Down

0 comments on commit c6a2112

Please sign in to comment.