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

Added Dockerfile for building Docker image #86

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

stempler
Copy link
Member

Also added short instructions on building and usage.

Relates to #83

Currently the Docker image cannot be built with this Dockerfile due to #85

Also added short instructions on building and usage.
EXPOSE 8080

# get dataset list as health check
HEALTHCHECK \
Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure if this makes sense as a health check. Otherwise we can replace it with something else or just ditch it.

Copy link
Member

@stephanr stephanr Apr 5, 2023

Choose a reason for hiding this comment

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

The question here is whether the functions provided by Tomcat should be used?
https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Health_Check_Valve

@tfr42 tfr42 added feature New feature request build Build released issues and tasks labels Mar 30, 2023
@tfr42 tfr42 changed the title build: add Dockerfile for building Docker image Added Dockerfile for building Docker image Apr 5, 2023
RUN mkdir $DEEGREE_WORKSPACE_ROOT && \
(rm -r /usr/local/tomcat/webapps/ROOT || true)

VOLUME $DEEGREE_WORKSPACE_ROOT
Copy link
Member

Choose a reason for hiding this comment

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

$DEEGREE_WORKSPACE_ROOT is evaluated at build time. Therefore this statement is equivalent to VOLUME /workspaces.

@copierrj copierrj merged commit 5831a2b into deegree:main Apr 5, 2023
@tfr42 tfr42 added this to the 1.3.0 milestone Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build released issues and tasks feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants