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

Docker #4

Merged
merged 20 commits into from
Nov 29, 2023
Merged

Docker #4

merged 20 commits into from
Nov 29, 2023

Conversation

BWibo
Copy link
Member

@BWibo BWibo commented Nov 24, 2023

This used to be #3.

This PR adds a build workflow and Dockerfile for a Docker image for the citydb-tool.

Features

Synopsis

docker run --rm --name citydb-tool [-i -t] \
    [-e CITYDB_HOST=the.host.de] \
    [-e CITYDB_PORT=5432] \
    [-e CITYDB_NAME=theDBName] \
    [-e CITYDB_SCHEMA=theCityDBSchemaName] \
    [-e CITYDB_USERNAME=theUsername] \
    [-e CITYDB_PASSWORD=theSecretPass] \
    [-v /my/data/:/data] \
  3dcitydb/citydb-tool[:TAG] COMMAND

@BWibo BWibo mentioned this pull request Nov 24, 2023
4 tasks
@clausnagel
Copy link
Member

clausnagel commented Nov 24, 2023

I added auto-provisioning to the Gradle script in the main branch. Please check whether using a Java 17 base image works now. A Java 11 SDK for building the source should be automatically downloaded. This requires an internet connection, of course.

@BWibo
Copy link
Member Author

BWibo commented Nov 26, 2023

@clausnagel I can confirm the build now works with JDK17 as baseimage.

@clausnagel clausnagel merged commit 06a9a25 into 3dcitydb:main Nov 29, 2023
4 checks passed
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.

2 participants