docker added
This commit is contained in:
parent
f6b0458057
commit
0e35c98ab9
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
FROM registry.jetbrains.team/p/writerside/builder/writerside-builder:241.15989 as build
|
||||||
|
|
||||||
|
ARG INSTANCE=Writerside/KleinServer
|
||||||
|
|
||||||
|
RUN mkdir /opt/sources
|
||||||
|
|
||||||
|
WORKDIR /opt/sources
|
||||||
|
|
||||||
|
ADD . ./Writerside
|
||||||
|
|
||||||
|
RUN export DISPLAY=:99 && \
|
||||||
|
Xvfb :99 & \
|
||||||
|
/opt/builder/bin/idea.sh helpbuilderinspect -source-dir /opt/sources --product $INSTANCE --runner other --output-dir /opt/wrs-output/
|
||||||
|
|
||||||
|
WORKDIR /opt/wrs-output
|
||||||
|
|
||||||
|
RUN unzip webHelpKLEINSERVER2-all.zip -d /opt/wrs-output/unzipped-artifact
|
||||||
|
|
||||||
|
FROM httpd:2.4 as http-server
|
||||||
|
|
||||||
|
COPY --from=build /opt/wrs-output/unzipped-artifact/ /usr/local/apache2/htdocs/
|
||||||
@ -2,8 +2,8 @@
|
|||||||
<!DOCTYPE instance-profile
|
<!DOCTYPE instance-profile
|
||||||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">
|
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">
|
||||||
|
|
||||||
<instance-profile id="in"
|
<instance-profile id="KleinServer"
|
||||||
name="Instance Name"
|
name="KleinServer"
|
||||||
start-page="Overview.md">
|
start-page="Overview.md">
|
||||||
|
|
||||||
<toc-element topic="Overview.md"/>
|
<toc-element topic="Overview.md"/>
|
||||||
@ -8,5 +8,10 @@
|
|||||||
<noindex-content>true</noindex-content>
|
<noindex-content>true</noindex-content>
|
||||||
</variables>
|
</variables>
|
||||||
</build-profile>
|
</build-profile>
|
||||||
|
<build-profile instance="KleinServer">
|
||||||
|
<variables>
|
||||||
|
<noindex-content>true</noindex-content>
|
||||||
|
</variables>
|
||||||
|
</build-profile>
|
||||||
|
|
||||||
</buildprofiles>
|
</buildprofiles>
|
||||||
|
|||||||
@ -7,5 +7,5 @@
|
|||||||
<images dir="images" web-path="images"/>
|
<images dir="images" web-path="images"/>
|
||||||
<categories src="c.list"/>
|
<categories src="c.list"/>
|
||||||
<vars src="v.list"/>
|
<vars src="v.list"/>
|
||||||
<instance src="in.tree"/>
|
<instance src="KleinServer.tree"/>
|
||||||
</ihp>
|
</ihp>
|
||||||
Loading…
x
Reference in New Issue
Block a user