An official Docker image for GMT?

Thank. I kept trying I guess it’s not the right way to do it. The image build is very long. I had to remove some dependencies compare to the documentation. The volume of the image is around 3.6 Gb.
For now I just need to draw points on a map so it works. I got the png file I expected.

environment.yml

name: pygmt
channels:
  - conda-forge
dependencies:
  - python=3.9
  - pandas
  - packaging 
  - gmt=6.1.1
  - pygmt

Dockerfile

FROM continuumio/miniconda3

WORKDIR /app

# Create the environment:
COPY environment.yml .
RUN conda env create -f environment.yml

# Copy script 
# input: csv file
# output: png image : map (shorelines and borders) with markers at some coordinates
COPY drawMap.py .

# activate pygmt env
ENTRYPOINT ["conda", "run", "-n", "pygmt"]

docker-compose

version: '3.6'

services:
  pygmt:
    build: .
    container_name: container-pygmt
    volumes:
      - "/home/tromuald/data/bgi/:/data:rw"
    command: python drawMap.py /data/landata_516.csv