Skip to content

Conversation

ihnorton
Copy link
Member

@ihnorton ihnorton commented Oct 29, 2021

Adds an example Docker for Windows Dockerfile, which links the TileDB jar and prints the embedded libtiledb version. x-ref forum discussion.

Example should print TileDB v2.3.3:

(base) PS C:\git\TileDB-Java\docker\windows> docker build -t tiledb-java-win .
Sending build context to Docker daemon  4.096kB
Step 1/6 : FROM winamd64/openjdk:18-ea-20-jdk-windowsservercore-1809
---> dd24948304ae
Step 2/6 : SHELL ["cmd", "/S", "/C"]                                                                                                                                                                            ---> Using cache
---> 106cd89aec0d
Step 3/6 : ADD https://github.com/TileDB-Inc/TileDB-Java/releases/download/0.5.4/tiledb-java-0.5.4.jar tiledb-java-0.5.4.jar                                                                                   Downloading [==================================================>]  12.65MB/12.65MB
---> Using cache
---> dac74fa7702d
Step 4/6 : ADD VersionPrinter.java VersionPrinter.java
---> Using cache
---> 7277340ddf78
---> Using cache                                                                                                                                                                                               ---> ef7362d9105a
Step 6/6 : ENTRYPOINT java -cp tiledb-java-0.5.4.jar;. VersionPrinter
---> Using cache
---> 39f7fba2aeea
Successfully built 39f7fba2aeea
Successfully tagged tiledb-java-win:latest

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
(base) PS C:\git\TileDB-Java\docker\windows> docker run tiledb-java-win
TileDB v2.3.3     

@DimitrisStaratzis DimitrisStaratzis self-requested a review November 12, 2021 16:58
@ihnorton ihnorton closed this Feb 23, 2023
@ihnorton ihnorton deleted the ihn/docker-windows branch February 23, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants