[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feedback - Docker container creation for Gambas Web Application
[Thread Prev] | [Thread Next]
- Subject: Re: Feedback - Docker container creation for Gambas Web Application
- From: Linus <olivier.cruilles@xxxxxxxx>
- Date: Fri, 29 Aug 2025 15:29:57 -0400
- To: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Cc: Linus <olivier.cruilles@xxxxxxxx>, Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Hi Benoit,
I tried to build a minimal Dockerfile as you mentioned, to run a Gambas Web Application using the embedded Web server of Gambas but
unfortunately I occurred the same issue than in the past, memory leak at the execution of the Gambas Web Application into the Docker container.
This memory leak does not appears when I use a traditional Web server in frontal into the Docker Image.
Did I missed something regarding you explanations ?
Here is the related Dockerfile:
# syntax=docker/dockerfile:1
#
# Dockerfile for Gambas Web Application
FROM ubuntu:25.04
# set version label
ARG BUILD_DATE
ARG VERSION
ARG GAMBAS_VERSION
LABEL build_version="Triton Digital version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Olivier Cruilles"
RUN echo "**** install packages ****"
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update \
&& ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \
&& export DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y tzdata \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& apt-get install -y software-properties-common curl \
&& echo 'deb https://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/ /' | tee /etc/apt/sources.list.d/home:gambas:master.list \
&& curl -fsSL https://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_gambas_master.gpg > /dev/null \
&& apt-get update
RUN echo "**** install Gambas3 packages ****"
RUN DEBIAN_FRONTEND=noninteractive apt install -y gambas3-gb-web-gui \
gambas3-gb-util \
gambas3-runtime \
gambas3-gb-crypt \
gambas3-gb-args \
gambas3-gb-db \
gambas3-devel \
gambas3-gb-form-stock \
gambas3-gb-net \
gambas3-gb-db-sqlite3 \
gambas3-gb-httpd \
gambas3-gb-settings \
gambas3-gb-signal \
gambas3-gb-compress \
gambas3-gb-pcre \
gambas3-gb-web \
gambas3-gb-image \
gambas3-gb-net-curl \
gambas3-gb-util-web \
gambas3-gb-signal \
language-pack-en-base
RUN rm -rf /var/lib/apt/lists/*
RUN mkdir -p /App
COPY app/eclipsia.gambas /App/eclipsia.gambas
RUN chmod 755 /App/eclipsia.gambas
RUN echo "**** packages installed ****"
#USER www-data
# ports and volumes
EXPOSE 8080
VOLUME /config /app
CMD ["/usr/bin/gbr3", "-H", "/App/eclipsia.gambas"]
Olivier
> Le 27 août 2025 à 02:07, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> a écrit :
>
> Le 27/08/2025 à 03:55, Linus a écrit :
>> Here the last version of the little project:
>
> Thanks, but this program is mostly a GUI.
>
> I need on the contrary just a program without GUI that builds the docker file with the minimum number of parameters, without having to create the docker file by hand if possible...
>
> Regards,
>
> --
> Benoît Minisini.
>
>
| Re: Feedback - Docker container creation for Gambas Web Application | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Feedback - Docker container creation for Gambas Web Application | Linus <olivier.cruilles@xxxxxxxx> |
| Re: Feedback - Docker container creation for Gambas Web Application | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Feedback - Docker container creation for Gambas Web Application | Linus <olivier.cruilles@xxxxxxxx> |
| Re: Feedback - Docker container creation for Gambas Web Application | Linus <olivier.cruilles@xxxxxxxx> |
| Re: Feedback - Docker container creation for Gambas Web Application | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |