Skip to content

Commit

Permalink
release jsreport 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrmatos committed Oct 5, 2023
1 parent 02f1902 commit 5ce98d5
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 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.0.0` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.0.0/packages/jsreport/docker/default/Dockerfile)) contains default installation from npm
- `jsreport/jsreport:4.0.0-full` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.0.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.0.0-windowsservercore` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.0.0/packages/jsreport/docker/windowsservercore/Dockerfile)) contains default installation with windows server core based image. Use `c:\jsreport` for mounting volume.
- `jsreport/jsreport:4.1.0` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.1.0/packages/jsreport/docker/default/Dockerfile)) contains default installation from npm
- `jsreport/jsreport:4.1.0-full` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.1.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.1.0-windowsservercore` ([Dockerfile](https://github.com/jsreport/jsreport/blob/4.1.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.0.0`
2. `sudo docker run -p 80:5488 jsreport/jsreport:4.1.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
8 changes: 4 additions & 4 deletions packages/jsreport/docker/default/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16-alpine3.17
FROM node:18.16-alpine3.18
EXPOSE 5488
USER root
ARG TARGETPLATFORM
Expand Down Expand Up @@ -38,13 +38,13 @@ 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="116.0.5845.140-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="117.0.5938.62-r0"; \
elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
export CHROMIUM_TO_INSTALL_VERSION="116.0.5845.140-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="117.0.5938.62-r0"; \
fi && \
echo "Installing Chromium $CHROMIUM_TO_INSTALL_VERSION version.." && \
apk update --no-cache && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/v3.17/community >> /etc/apk/repositories && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/v3.18/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 \
Expand Down
8 changes: 4 additions & 4 deletions packages/jsreport/docker/default/Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16-alpine3.17
FROM node:18.16-alpine3.18
EXPOSE 5488
USER root
ARG TARGETPLATFORM
Expand Down Expand Up @@ -38,13 +38,13 @@ 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="116.0.5845.140-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="117.0.5938.62-r0"; \
elif [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
export CHROMIUM_TO_INSTALL_VERSION="116.0.5845.140-r0"; \
export CHROMIUM_TO_INSTALL_VERSION="117.0.5938.62-r0"; \
fi && \
echo "Installing Chromium $CHROMIUM_TO_INSTALL_VERSION version.." && \
apk update --no-cache && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/v3.17/community >> /etc/apk/repositories && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/v3.18/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 \
Expand Down
2 changes: 1 addition & 1 deletion packages/jsreport/docker/full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN npm install --save --save-exact @jsreport/jsreport-ejs@4.0.0 \
@jsreport/jsreport-fs-store-aws-s3-persistence@4.0.0 \
@jsreport/jsreport-fs-store-azure-storage-persistence@4.0.0 \
@jsreport/jsreport-unoconv@4.0.0 \
cheerio-page-eval@1.0.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
Expand Down
2 changes: 1 addition & 1 deletion packages/jsreport/docker/full/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ RUN json-merger -p package.json ./build/workspaces-changes.json -o package.json

RUN yarn install --production

RUN yarn add --production --ignore-optional --ignore-workspace-root-check cheerio-page-eval@1.0.0
RUN yarn add --production --ignore-optional --ignore-workspace-root-check cheerio-page-eval@1.1.0

# this copy of jsreport.config.json is only needed on Dockerfile.local, because it is missing
COPY ./packages/jsreport/docker/default/jsreport.config.json jsreport.config.json
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.0.0",
"version": "4.1.0",
"description": "javascript based business reporting",
"keywords": [
"report",
Expand Down

0 comments on commit 5ce98d5

Please sign in to comment.