Skip to content
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

Issue building docker container for production #935

Closed
bcosyn opened this issue Mar 24, 2023 · 5 comments
Closed

Issue building docker container for production #935

bcosyn opened this issue Mar 24, 2023 · 5 comments
Assignees
Labels
deployment This issue is about the deployment of the Docker image, WAR file or operational environment user-to-fix Problem is present on user side

Comments

@bcosyn
Copy link

bcosyn commented Mar 24, 2023

I wanted to adjust the parameters for deploying version 2023:1 of the inspire validator. https://github.com/INSPIRE-MIF/helpdesk-validator/releases/tag/v2023.1
Docker build gives an error on the squid package. Could there be something wrong with the ets-rpeository.2023.1.zip file? Any advise is most welcome.
image

@fabiovinci fabiovinci added under analysis deployment This issue is about the deployment of the Docker image, WAR file or operational environment labels Mar 24, 2023
@fernandocuevasgdtel
Copy link

Dear @bcosyn,

thanks for communicating this issue.
As you have mentioned the issue is related to the non-existence of the squid package when building the image for deployment.
We are developing a different set-up to build the docker image to solve the issue.
In the meantime, please run the built docker image provided in v2023.1 release, according to the instructions provided in the release notes.

Thank you for your attention,

Best,

@fabiovinci fabiovinci assigned bcosyn and unassigned jenriquesoriano Apr 4, 2023
@fabiovinci fabiovinci added ready for testing Solution provided to reporter or developed & deployed in staging (or beta), waiting for testing and removed under analysis labels Apr 4, 2023
@joachimnielandt
Copy link

Dear @fernandocuevasgdtel ,

Perhaps you are already considering this, but the current setup uses outdated base images I believe (references to missing debian repository servers etc). On my machine, that makes apt-get update file in the Dockerfile, for example.

Additionally, am I correct in thinking that the pre-built docker image you suggested is not configurable for a production environmment (modify the base url in the various required files)?

@jbarreroj
Copy link
Collaborator

Dear @joachimnielandt , @bcosyn , all,

You are correct about the non-possibility of modifying the URLs.
There have been some improvements related to this matter and it could be considered solved by now.
These issues are caused by the lack of maintenance of the image files, which caused the apt-get instructions to not function correctly.

To solve these issues, you will need to replace the following files with the ones that are attached:

  • /Dockerfile
  • /res/docker-entrypoint.sh
  • /res/squid.conf

If you find any trouble reproducing these steps, please contact us.

Best
files_docker.zip

@jenriquesoriano
Copy link
Collaborator

Dear @bcosyn ,

did you have the chance to validate the proposed solution?

Best

@DanielMartinPerezdeLeon
Copy link
Collaborator

Dear @bcosyn ,

we close this issue as a solution has been provided.

Please do not hesitate to open a new issue in case further input is needed.

Regards,

@jenriquesoriano jenriquesoriano added user-to-fix Problem is present on user side and removed ready for testing Solution provided to reporter or developed & deployed in staging (or beta), waiting for testing labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment This issue is about the deployment of the Docker image, WAR file or operational environment user-to-fix Problem is present on user side
Projects
None yet
Development

No branches or pull requests

7 participants