OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

Feature fix missing ontologies in docker #1631

Closed ebroda closed 1 month ago

ebroda commented 1 month ago

Summary of the discussion

As of #1622 the docker-image is currently missing the oeo. This PR adds a command to the Dockerfile to create the folder, download the latest oeo from github and extract it. So the oeo is correctly included in the Docker image. Afterwards, #1622 is fixed (in connection with #1627).

Also the docker readme is extended to include the docker build command to create the image on your own (if you e.g. change stuff).

Type of change (CHANGELOG.md)

Updated

Workflow checklist

Automation

Closes #1622

PR-Assignee

Reviewer

ebroda commented 1 month ago

Isn't unzip something that needs to be installed first? Maybe we should use the tar.gz

Unzip is included in the base image, no need to install it.

$ docker exec -ti docker-oep_oeplatform_1 bash
root@d82c2ffcae71:/app# unzip -v
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
...