-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dockerfile for deploying the application #15
Conversation
This commit adds a Dockerfile for deploying the application. The Dockerfile sets up a Ubuntu 22.04 environment with necessary packages such as tightvncserver, xfce4, qtcreator, and vim-tiny. It also creates directories and copies application files. The Dockerfile_entrypoint.sh script is included to configure the VNC server and startup script. The container is started with the entrypoint.sh script.
Co-authored-by: tbukovics <[email protected]>
Co-authored-by: tbukovics <[email protected]>
…deployment process
@tbukovics I have added the But unfortunately I still get an error I have added an optional parameter to for the container |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I corrected the entrypoint, there was an necessary RUN.
Please add a ci pipeline for gitlab do build daqlite and if it's good then create and deploy container as latest
…er-updates Ecdc 4352 daqlite docker container updates
@tbukovics It is quiet slow (~10 min), and could be optimized by splitting into two images with one that does not change often. but that can be done in a separate task if needed. I have also setup the synchronization to GitLab. So once this is merged the same flow as we have for EFU should work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not exactly what I expected to have, you build daqlite product when you create the docker file, and we would like to have a simplified pipeline in gitlab which:
- builds the daqlite binary on ubuntu
- if build success, then:
- publish tar file for ubuntu
- create and publish docker container
Please also do not forget the scripts and config folders from the container
This commit adds a gitlab-ci, which builds daqlite binaries and publishes them as tar archive and as a docker container.
The Dockerfile sets up a Ubuntu 22.04 environment with necessary packages such as tightvncserver, xfce4, qtcreator, and vim-tiny. The Dockerfile_entrypoint.sh script is included to configure the VNC server and startup script.
Tagging a commit will produce docker image with the tag e.g. "2.0" or "2.1.beta"