Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Stop using fixed version values, just use sed to add -docker to the version set in #define PRODUCT_VERSION
  • Loading branch information
curtishall authored Feb 12, 2024
1 parent e2f5436 commit b50817c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actions/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ WORKDIR /root
RUN git clone --recurse-submodules --progress http://github.com/bluecherrydvr/bluecherry-apps.git \
&& cd bluecherry-apps \
&& git checkout $BLUECHERRY_GIT_BRANCH_TAG \
&& sed -i 's/#define PRODUCT_VERSION "3.1.0-rc9"/#define PRODUCT_VERSION "3.1.0-rc9-docker"/' server/v3license_processor.h
&& sed -i '/#define PRODUCT_VERSION/s/"$/-docker"/' server/v3license_processor.h



RUN apt-get --no-install-recommends -y install \
Expand Down

0 comments on commit b50817c

Please sign in to comment.