Skip to content

Fix: #11127 Enhance Dockerfile to build image from local source#11636

Merged
offtherailz merged 9 commits intogeosolutions-it:masterfrom
brynsofz:fix/enhance-dockerfile-to-build-image-from-local-source
Nov 26, 2025
Merged

Fix: #11127 Enhance Dockerfile to build image from local source#11636
offtherailz merged 9 commits intogeosolutions-it:masterfrom
brynsofz:fix/enhance-dockerfile-to-build-image-from-local-source

Conversation

@brynsofz
Copy link
Copy Markdown
Contributor

@brynsofz brynsofz commented Oct 28, 2025

Description

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?

#11127

What is the new behavior?

  • The Dockerfile is now compatible with both the root MapStore project and custom MapStore projects
  • The createProject.js script has been updated to copy the Dockerfile and binary/tomcat/conf/server.xml when generating a custom MapStore project

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@brynsofz brynsofz changed the title Fix: enhance dockerfile to build image from local source Fix: #11127 Enhance dockerfile to build image from local source Oct 29, 2025
@brynsofz brynsofz changed the title Fix: #11127 Enhance dockerfile to build image from local source Fix: #11127 Enhance Dockerfile to build image from local source Oct 29, 2025
@brynsofz brynsofz mentioned this pull request Oct 29, 2025
6 tasks
@tdipisa tdipisa requested a review from randomorder November 4, 2025 10:22
@tdipisa tdipisa added this to the 2025.02.00 milestone Nov 4, 2025
@tdipisa tdipisa linked an issue Nov 4, 2025 that may be closed by this pull request
6 tasks
@tdipisa tdipisa added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Nov 4, 2025
@tdipisa tdipisa modified the milestones: 2025.02.00, 2026.01.00 Nov 10, 2025
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Nov 10, 2025
@offtherailz
Copy link
Copy Markdown
Member

do docker users of existing project do some operation to migrate their applications (e.g. workflows, build)? It looks to still work wit MAPSTORE_WEBAPP_SRC, but I'm asking ...

I'd like to ask you to document how to use this docker instance.

I see that the port changes from 8082 to 8080 on both binary and docker.
It is ok for me, all te doc looks to be updated.

@offtherailz offtherailz self-requested a review November 14, 2025 16:33
Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we document how to use this docker image?
I can not find the documentation anywere.
So maybe people have to check the docker file to know how to use (port, variables etc..)
Ideally it could be documented on dockerhub and linked from official documentation, but follow the best practice you think are fine.
Our documentation should say how to use them in the project.

@brynsofz
Copy link
Copy Markdown
Contributor Author

brynsofz commented Nov 19, 2025

@offtherailz

I tested the build, it is okay. I also updated the document on README. About Dockerhub document, we can update it later and separately.

@brynsofz brynsofz requested a review from offtherailz November 19, 2025 08:32
Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.
Maybe we should move this documentation for Readme to official documentation, that is anyway the reference for this contents.

But this can be done in a second time.

@offtherailz offtherailz merged commit 1602fc3 into geosolutions-it:master Nov 26, 2025
6 checks passed
mahesh-wor pushed a commit to mahesh-wor/MapStore2 that referenced this pull request Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review DockerFiles

4 participants