Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
XWiki Labs
onlyoffice-x2t-wasm
Commits
a7c4fee3
Commit
a7c4fee3
authored
Jan 05, 2020
by
Ludovic Dubost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update build to 5.4.2 of OnlyOffice x2t
parent
bf59a4f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
x2t-wasm/Dockerfile
x2t-wasm/Dockerfile
+2
-3
x2t-wasm/build.sh
x2t-wasm/build.sh
+1
-1
No files found.
x2t-wasm/Dockerfile
View file @
a7c4fee3
...
...
@@ -2,9 +2,8 @@
# https://helpcenter.onlyoffice.com/server/linux/document/compile-source-code.aspx,
# which hallows to build the complete OnlyOffice Document Server
# We tweak it a bit so that we build only the tool that we are looking for (x2t)
LABEL
Description="This image is used to build onlyoffice x2t.js" Version="5.2.6-1"
from
ubuntu:xenial
LABEL
Description="This image is used to build onlyoffice x2t.js" Version="5.4.2-1"
run
apt-get update
run
apt-get
install
--force-yes
-yq
\
...
...
@@ -28,7 +27,7 @@ run apt-get install --force-yes -yq \
# Use the ldubost OnlyOffice core with the wasm branch
run
git clone https://github.com/ldubost/core.git
\
&&
cd
core
&&
git checkout wasm32-5.
2.6
&&
cd
core
&&
git checkout wasm32-5.
4.2
# Add a target for the build only for x2t and its dependencies
run
echo
"x2t:
\$
(X2T)"
>>
core/Makefile
...
...
x2t-wasm/build.sh
View file @
a7c4fee3
#!/bin/sh
VERSION
=
5.
2.6
VERSION
=
5.
4.2
IMAGE_NAME
=
x2t-build-
${
VERSION
}
-1
CONTAINER_NAME
=
${
IMAGE_NAME
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment