mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-12 10:22:14 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4827a45f22 | ||
|
|
40eef457ab | ||
|
|
c22a4d109b |
@@ -186,8 +186,8 @@ You may also use *remote* paths for Google fonts, images and so on.
|
|||||||
|
|
||||||
> If you want to install fonts directly in the Gotenberg Docker image,
|
> If you want to install fonts directly in the Gotenberg Docker image,
|
||||||
> see to the [fonts section](#fonts).
|
> see to the [fonts section](#fonts).
|
||||||
|
>
|
||||||
> For web fonts, there is a timeout of 500ms by default. You may update
|
> For web fonts (Google fonts), there is a timeout of 500ms by default. You may update
|
||||||
> this value thanks to the form field `webFontsTimeout`.
|
> this value thanks to the form field `webFontsTimeout`.
|
||||||
|
|
||||||
### cURL
|
### cURL
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ You may send one or more Office documents. Following file extensions are accepte
|
|||||||
|
|
||||||
* `.txt`
|
* `.txt`
|
||||||
* `.rtf`
|
* `.rtf`
|
||||||
|
* `.fodt`
|
||||||
* `.doc`
|
* `.doc`
|
||||||
* `.docx`
|
* `.docx`
|
||||||
* `.odt`
|
* `.odt`
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ are on the same level as the <code>index.html</code> file.</p>
|
|||||||
<p>If you want to install fonts directly in the Gotenberg Docker image,
|
<p>If you want to install fonts directly in the Gotenberg Docker image,
|
||||||
see to the <a href="#fonts">fonts section</a>.</p>
|
see to the <a href="#fonts">fonts section</a>.</p>
|
||||||
|
|
||||||
<p>For web fonts, there is a timeout of 500ms by default. You may update
|
<p>For web fonts (Google fonts), there is a timeout of 500ms by default. You may update
|
||||||
this value thanks to the form field <code>webFontsTimeout</code>.</p>
|
this value thanks to the form field <code>webFontsTimeout</code>.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
@@ -647,6 +647,7 @@ $client->store($request, $dest);
|
|||||||
<ul>
|
<ul>
|
||||||
<li><code>.txt</code></li>
|
<li><code>.txt</code></li>
|
||||||
<li><code>.rtf</code></li>
|
<li><code>.rtf</code></li>
|
||||||
|
<li><code>.fodt</code></li>
|
||||||
<li><code>.doc</code></li>
|
<li><code>.doc</code></li>
|
||||||
<li><code>.docx</code></li>
|
<li><code>.docx</code></li>
|
||||||
<li><code>.odt</code></li>
|
<li><code>.odt</code></li>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import (
|
|||||||
var officeExts = []string{
|
var officeExts = []string{
|
||||||
".txt",
|
".txt",
|
||||||
".rtf",
|
".rtf",
|
||||||
|
".fodt",
|
||||||
".doc",
|
".doc",
|
||||||
".docx",
|
".docx",
|
||||||
".odt",
|
".odt",
|
||||||
|
|||||||
@@ -21,11 +21,13 @@ docker build -t thecodingmachine/gotenberg:base -f build/base/Dockerfile .
|
|||||||
docker build \
|
docker build \
|
||||||
--build-arg GOLANG_VERSION=${GOLANG_VERSION} \
|
--build-arg GOLANG_VERSION=${GOLANG_VERSION} \
|
||||||
--build-arg VERSION=${VERSION} \
|
--build-arg VERSION=${VERSION} \
|
||||||
|
-t thecodingmachine/gotenberg:latest \
|
||||||
-t thecodingmachine/gotenberg:${SEMVER[0]} \
|
-t thecodingmachine/gotenberg:${SEMVER[0]} \
|
||||||
-t thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]} \
|
-t thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]} \
|
||||||
-t thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}.${SEMVER[2]} \
|
-t thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}.${SEMVER[2]} \
|
||||||
-f build/package/Dockerfile .
|
-f build/package/Dockerfile .
|
||||||
|
|
||||||
|
docker push "thecodingmachine/gotenberg:latest"
|
||||||
docker push "thecodingmachine/gotenberg:${SEMVER[0]}"
|
docker push "thecodingmachine/gotenberg:${SEMVER[0]}"
|
||||||
docker push "thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}"
|
docker push "thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}"
|
||||||
docker push "thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}.${SEMVER[2]}"
|
docker push "thecodingmachine/gotenberg:${SEMVER[0]}.${SEMVER[1]}.${SEMVER[2]}"
|
||||||
Reference in New Issue
Block a user