Giter VIP home page Giter VIP logo

Comments (4)

ZCube avatar ZCube commented on May 31, 2024

@jramoseguinoa bitnami will fit the binaries they build themselves into their desired directory structure. In addition, certain plugin additions or setting changes may be applied.

from bitnami-compat.

jramoseguinoa avatar jramoseguinoa commented on May 31, 2024

@ZCube thank you for the response.
After running the script create.sh I'm getting a directory structure where I can see a docker file with some commented out lines

#RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "yq" "4.20.2-0" --checksum cf127534dd75da82d58377bfd0d84f47fe1760830336a44365372805e48fe343
#RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-9" --checksum 4b509978f6d0a4c3b958deeb3490241cda60e4412c138da665192631d60f70de
#RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.1-9" --checksum 4694f01476c5a457a71f280562df45ea542bdf3f9b298ff87643a89ea365f5fb
#RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mongodb" "4.4.12-5" --checksum 1a6f4d6ae38f229848ce5bf922a6248ba9dad000ee318bdc0fc7894b40d4e492
#RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-6" --checksum 6f8fd2267481ffbe899a7f93b7b3076cd78dd70b7b9835bed79414932a749664

If I try to build the docker image, I got an error because there is an script that tries to use one of the dependencies listed there (render-template)

So back to my original question, I'm not sure what to do with the steps on the readme, specifically with

Check file list on archive/mariadb-10.6.5-3-linux-amd64-debian-10
3. Write build scripts
bash/mariadb/10.6.5-3/install.sh
docker/mariadb/10.6.5-3/Dockerfile.from
docker/mariadb/10.6.5-3/Dockerfile.install
golang/mariadb/10.6.5-3/install.sh

The archive directory contains some tar.gz files that are the ones that are required, so my question is what should I do in order to include them in the image?

Sorry for the question but I'm new to this topic :D

from bitnami-compat.

ZCube avatar ZCube commented on May 31, 2024

@jramoseguinoa after

./scripts/updates_with_checkout.sh 

Each component is replaced with a pre-written script. Since Bitnami does not prepare tar.gz, you have to write that part yourself.

Scripts for render-template and gosu are currently written in this repository, so you can check them by referring to the golang directory.

You need to write a Dockerfile for the mongodb installation, refer to mariadb's docker/mariadb/10.6.5-3/Dockerfile.install.

You need to place the file under the /opt/bitnami/mongodb directory and make it compatible with bitnami's scripts. Sometimes you may need to add plugins.

Unfortunately, this build system is not yet well-organized or documented.

from bitnami-compat.

jramoseguinoa avatar jramoseguinoa commented on May 31, 2024

@ZCube today I was about to give it a try but I've seen that you already added the image. Thank you very much for adding this one.
I was able to install the v4.4 (v5 cannot be run in a rpi 4 as MongoDB 5.0 requires ARMv8.2-A or later) using the bitnami helm chart and the image you have created and everything seems to work (or at least the replicaset started as expected)

Once again thank you very much!

from bitnami-compat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.