[bitnami/appsmith] Release 1.9.42-debian-11-r1 (#52269)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2023-11-02 12:15:06 +01:00 committed by GitHub
parent f04add86c0
commit 4249498749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 16 deletions

View File

@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-10-25T14:04:14Z" \
org.opencontainers.image.created="2023-11-02T09:56:06Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="1.9.42-debian-11-r0" \
org.opencontainers.image.ref.name="1.9.42-debian-11-r1" \
org.opencontainers.image.title="appsmith" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="1.9.42"
@ -26,14 +26,14 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN install_packages acl ca-certificates curl gettext libbz2-1.0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgeoip1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libpcre3 libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 openssl procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
COMPONENTS=( \
"python-3.11.6-6-linux-${OS_ARCH}-debian-11" \
"python-3.11.6-8-linux-${OS_ARCH}-debian-11" \
"wait-for-port-1.0.7-2-linux-${OS_ARCH}-debian-11" \
"render-template-1.0.6-2-linux-${OS_ARCH}-debian-11" \
"node-18.18.2-0-linux-${OS_ARCH}-debian-11" \
"nginx-1.25.3-0-linux-${OS_ARCH}-debian-11" \
"mongodb-shell-2.0.2-0-linux-${OS_ARCH}-debian-11" \
"java-17.0.9-11-1-linux-${OS_ARCH}-debian-11" \
"appsmith-1.9.42-0-linux-${OS_ARCH}-debian-11" \
"appsmith-1.9.42-3-linux-${OS_ARCH}-debian-11" \
) && \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \

View File

@ -3,7 +3,7 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.9.42-0"
"version": "1.9.42-3"
},
"java": {
"arch": "amd64",
@ -33,7 +33,7 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "3.11.6-6"
"version": "3.11.6-8"
},
"render-template": {
"arch": "amd64",

View File

@ -194,7 +194,7 @@ appsmith_backend_stop() {
is_appsmith_rts_running() {
# appsmith-rts does not create any PID file
# We regenerate the PID file for each time we query it to avoid getting outdated
pgrep -f "${APPSMITH_BASE_DIR}/rts/server.js" | head -n 1 > "$APPSMITH_RTS_PID_FILE"
pgrep -f "${APPSMITH_BASE_DIR}/rts/bundle/server.js" | head -n 1 > "$APPSMITH_RTS_PID_FILE"
pid="$(get_pid_from_file "$APPSMITH_RTS_PID_FILE")"
if [[ -n "$pid" ]]; then
@ -346,23 +346,19 @@ appsmith_initialize() {
local -r -a create_user_cmd=("curl")
# Taken from inspecting Appsmith wizard
# https://github.com/appsmithorg/appsmith/blob/release/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/UserSignupRequestDTO.java#L26
local -r -a create_user_args=("-X" "POST"
# Necessary for the installer to succeed
local -r -a create_user_args=("-L" "http://localhost:${APPSMITH_API_PORT}/api/v1/users/super"
"-H" "Origin: http://localhost:${APPSMITH_API_PORT}"
"-H" "Content-Type: application/x-www-form-urlencoded"
"--data-urlencode" "name=${APPSMITH_USERNAME}"
"--data-urlencode" "email=${APPSMITH_EMAIL}"
"--data-urlencode" "password=${APPSMITH_PASSWORD}"
# Necessary for the installer to succeed
"--data-urlencode" "allowCollectingAnnonymousData=false"
"--data-urlencode" "signupForNewsletter=false"
"--data-urlencode" "role=engineer"
"--data-urlencode" "useCase=just exploring"
"http://localhost:${APPSMITH_API_PORT}/api/v1/users/super"
)
"--data-urlencode" "signupForNewsletter=false")
if ! debug_execute "${create_user_cmd[@]}" "${create_user_args[@]}"; then
error "Installation failed. User ${APPSMITH_USERNAME} could not be created"
exit 1
fi
info "User created successfully"
fi
else