# OPM Flow Docker container
#
# This is a thin wrapper around the official OPM releases image.
# The official image is built from:
#   https://github.com/OPM/opm-utilities/tree/master/docker_opm_user
#
# It uses Ubuntu 22.04 + OPM PPA packages (libopm-simulators-bin).
#
# Build:
#   docker build -t opm-flow .
#
# Run:
#   docker run --rm -v $(pwd):/shared_host opm-flow \
#     --output-dir=/shared_host/output /shared_host/DECK.DATA
#
FROM openporousmedia/opmreleases:latest

LABEL description="OPM Flow reservoir simulator"
LABEL maintainer="runsim"
LABEL source.upstream="https://github.com/OPM/opm-utilities/tree/master/docker_opm_user"
LABEL source.simulators="https://github.com/OPM/opm-simulators"

ENTRYPOINT ["flow"]
