14 lines
509 B
Docker
14 lines
509 B
Docker
FROM bbb-common-message
|
|
|
|
ARG COMMON_VERSION
|
|
|
|
COPY . /bbb-fsesl-client
|
|
|
|
RUN cd /bbb-fsesl-client \
|
|
&& sed -i "s|\(version := \)\".*|\1\"$COMMON_VERSION\"|g" build.sbt \
|
|
&& find -name build.sbt -exec sed -i "s|\(.*org.bigbluebutton.*bbb-common-message[^\"]*\"[ ]*%[ ]*\)\"[^\"]*\"\(.*\)|\1\"$COMMON_VERSION\"\2|g" {} \; \
|
|
&& echo 'publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository")))' | tee -a build.sbt \
|
|
&& sbt compile \
|
|
&& sbt publish \
|
|
&& sbt publishLocal
|