Skip to content

Commit

Permalink
release jsreport 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrmatos committed Mar 15, 2024
1 parent 27d27f3 commit cbd2d59
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions packages/jsreport/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ Tags

[jsreport/jsreport](https://hub.docker.com/r/jsreport/jsreport/) image is automatically pushed with adequate tags into [docker hub](https://www.docker.com/) public repository in three variations:
>
- `jsreport/jsreport:4.2.0` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.2.0/packages/jsreport/docker/default/Dockerfile)) contains default installation from npm
- `jsreport/jsreport:4.2.0-full` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.2.0/packages/jsreport/docker/full/Dockerfile)) contains default installation plus all the custom extensions, see the list of installed extensions in the dockerfile
- `jsreport/jsreport:4.2.0-windowsservercore` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.2.0/packages/jsreport/docker/windowsservercore/Dockerfile)) contains default installation with windows server core based image. Use `c:\jsreport` for mounting volume.
- `jsreport/jsreport:4.3.0` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.3.0/packages/jsreport/docker/default/Dockerfile)) contains default installation from npm
- `jsreport/jsreport:4.3.0-full` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.3.0/packages/jsreport/docker/full/Dockerfile)) contains default installation plus all the custom extensions, see the list of installed extensions in the dockerfile
- `jsreport/jsreport:4.3.0-windowsservercore` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.3.0/packages/jsreport/docker/windowsservercore/Dockerfile)) contains default installation with windows server core based image. Use `c:\jsreport` for mounting volume.

You can find the list of all available tags and previous versions in the [tags tab](https://hub.docker.com/r/jsreport/jsreport/tags/)

Usage
-----

1. Install [Docker](https://www.docker.com/)
2. `sudo docker run -p 80:5488 jsreport/jsreport:4.2.0`
2. `sudo docker run -p 80:5488 jsreport/jsreport:4.3.0`

This is the most basic usage. It will start jsreport server on port 80 directly in the current shell with data and configuration stored directly in the container. Change 80 http port to whatever you want.

Expand Down
4 changes: 2 additions & 2 deletions packages/jsreport/docker/default/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ RUN addgroup -g "${GID}" -S jsreport && adduser --shell /bin/bash -u "${UID}" -S
# this condition is useful when the alpine registry contain different latest versions
# per architecture, if the versions match then just use the same version number on both paths
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
export CHROMIUM_TO_INSTALL_VERSION="119.0.6045.159-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="122.0.6261.111-r0"; \
elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
export CHROMIUM_TO_INSTALL_VERSION="119.0.6045.159-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="122.0.6261.111-r0"; \
fi && \
echo "Installing Chromium $CHROMIUM_TO_INSTALL_VERSION version.." && \
apk update --no-cache && \
Expand Down
8 changes: 4 additions & 4 deletions packages/jsreport/docker/default/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ RUN addgroup -g "${GID}" -S jsreport && adduser --shell /bin/bash -u "${UID}" -S
# this condition is useful when the alpine registry contain different latest versions
# per architecture, if the versions match then just use the same version number on both paths
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
export CHROMIUM_TO_INSTALL_VERSION="119.0.6045.159-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="122.0.6261.111-r0"; \
elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
export CHROMIUM_TO_INSTALL_VERSION="119.0.6045.159-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="122.0.6261.111-r0"; \
fi && \
echo "Installing Chromium $CHROMIUM_TO_INSTALL_VERSION version.." && \
apk update --no-cache && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/v3.18/community >> /etc/apk/repositories && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/v3.19/community >> /etc/apk/repositories && \
echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
apk add --no-cache \
libstdc++@edge \
chromium@edge=$CHROMIUM_TO_INSTALL_VERSION\
chromium@edge=$CHROMIUM_TO_INSTALL_VERSION \
nss \
freetype \
harfbuzz \
Expand Down
12 changes: 6 additions & 6 deletions packages/jsreport/docker/full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,23 @@ RUN npm install --save --save-exact @jsreport/jsreport-ejs@4.0.0 \
@jsreport/jsreport-pug@5.0.0 \
@jsreport/jsreport-aws-s3-storage@4.0.0 \
@jsreport/jsreport-azure-storage@4.0.0 \
@jsreport/jsreport-docxtemplater@4.0.1 \
@jsreport/jsreport-docxtemplater@4.1.0 \
@jsreport/jsreport-mssql-store@4.0.0 \
@jsreport/jsreport-postgres-store@4.0.0 \
@jsreport/jsreport-mongodb-store@4.0.0 \
@jsreport/jsreport-office-password@4.0.0 \
@jsreport/jsreport-html-to-text@4.0.0 \
@jsreport/jsreport-html-embedded-in-docx@4.0.1 \
@jsreport/jsreport-office-password@4.1.0 \
@jsreport/jsreport-html-to-text@4.1.0 \
@jsreport/jsreport-html-embedded-in-docx@4.1.0 \
@jsreport/jsreport-fs-store-aws-s3-persistence@4.0.1 \
@jsreport/jsreport-fs-store-azure-storage-persistence@4.0.1 \
@jsreport/jsreport-unoconv@4.0.0 \
@jsreport/jsreport-unoconv@4.1.0 \
cheerio-page-eval@1.1.0

COPY ./packages/jsreport/docker/full/install-or-build-oracledb-for-store.js install-or-build-oracledb-for-store.js
COPY ./packages/jsreport/docker/full/build-oracledb-src.sh build-oracledb-src.sh
# script created with steps recommend here from oracledb repository
# https://github.com/oracle/node-oracledb/issues/1382#issuecomment-849157748
RUN node install-or-build-oracledb-for-store.js --target=$TARGETPLATFORM --storeVersion=3.3.2
RUN node install-or-build-oracledb-for-store.js --target=$TARGETPLATFORM --storeVersion=4.0.0

RUN npm cache clean -f && rm -rf /tmp/*

Expand Down
2 changes: 1 addition & 1 deletion packages/jsreport/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsreport",
"version": "4.2.0",
"version": "4.3.0",
"description": "javascript based business reporting",
"keywords": [
"report",
Expand Down

0 comments on commit cbd2d59

Please sign in to comment.