From 55b8e6b7ea8c010a48c8e8a73426df5af7aaf088 Mon Sep 17 00:00:00 2001 From: Antonio Calanducci Date: Mon, 25 Sep 2023 16:58:14 +0200 Subject: [PATCH] Initial commit with Dockerfile --- Dockerfile | 2 ++ README.md | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..144fe70 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM d4science/gcore-distribution +RUN wget --no-check-certificate https://nexus.d4science.org/nexus/content/repositories/gcube-staging-gcore/org/gcube/informationsystem/is-registry-service/2.1.4-4.16.0-126945/is-registry-service-2.1.4-4.16.0-126945.gar && mv is-registry-service-2.1.4-4.16.0-126945.gar is-registry-service.gar && gcore-deploy-service is-registry-service.gar diff --git a/README.md b/README.md index 5fc5e1d..48aa9cc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,15 @@ -# is-registry-service-image +# IS Registry Service Docker image -This repo contains the Dockerfile to build the image of the gCore IS Registry service \ No newline at end of file +This repo contains the Dockerfile to build the image of the gCore IS Registry service + +## Build the image + +```shell +$ docker build -t is-registry-service . +``` + +## Test the image + +```shell +$ docker container run --name is-registry is-registry-service +```