opengeospatial / ets-ogcapi-processes10

Other
3 stars 3 forks source link

Update 2-minute method #33

Closed jerstlouis closed 1 year ago

jerstlouis commented 1 year ago

Describe the bug The 2-minute method in README does not work. It uses an the outdated Testbed 17 repository from GeoLabs rather than master, and does not copy the Dockerfile expected within the CITE directory.

Fix The following works:

mkdir CITE
cd CITE
git clone https://github.com/opengeospatial/teamengine src
git clone https://github.com/opengeospatial/ets-common.git src1
cd src1
git clone https://github.com/opengeospatial/ets-ogcapi-processes10.git
cd ..
# Build the docker image
docker build -f src1/ets-ogcapi-processes10/Dockerfile . -t teamengine/ogcapi-processes:latest
# Run the docker container
docker run -d --name cite-teamengine -p 8080:8080 teamengine/ogcapi-processes:latest
gfenoy commented 1 year ago

I made the following proposal before #25.

jerstlouis commented 1 year ago

Thanks @gfenoy

@ghobona Regarding #24 / #25, the 2-minutes method in the README still needs to be updated .

I don't have mvn installed, is that a better way to build the docker images to install mvn on the host? Thank you.