update base images

This commit is contained in:
chandi
2023-03-21 12:49:00 +01:00
parent 2a0cd91e72
commit 0766a4033c
6 changed files with 17 additions and 15 deletions

View File

@@ -21,11 +21,14 @@ RUN sed -i "s/VERSION/$TAG_HTML5/" /app/bundle/programs/web.browser/head.html \
# ------------------------------
FROM node:14.21.1-alpine
FROM node:14-bullseye-slim
RUN apt-get update && apt-get install -y gosu
# add user & group
RUN groupadd -g 2000 meteor \
&& useradd -m -u 2001 -g meteor meteor
RUN addgroup -g 2000 meteor && \
adduser -D -u 2001 -G meteor meteor && \
apk add su-exec
COPY --from=alangecker/bbb-docker-base-java /usr/local/bin/dockerize /usr/local/bin/dockerize
COPY --from=builder --chown=meteor:meteor /app/bundle /app
COPY entrypoint.sh /entrypoint.sh

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e
cd /app
@@ -39,5 +39,5 @@ fi
dockerize \
-template /app/bbb-html5.yml.tmpl:/app/bbb-html5.yml \
su-exec meteor \
gosu meteor \
node --max-old-space-size=2048 --max_semi_space_size=128 main.js $PARAM