# Generated by Neurodocker and Reproenv.

FROM bids/base_validator:1.11.0
RUN apt-get update -qq \
           && apt-get install -y -q --no-install-recommends \
                  git-annex \
                  python3 \
                  python3-pip \
           && rm -rf /var/lib/apt/lists/*
RUN pip install datalad
RUN mkdir /cohort_creator
COPY [".", \
      "/cohort_creator"]

# Save specification to JSON.
RUN printf '{ \
  "pkg_manager": "apt", \
  "existing_users": [ \
    "root" \
  ], \
  "instructions": [ \
    { \
      "name": "from_", \
      "kwds": { \
        "base_image": "bids/base_validator:1.11.0" \
      } \
    }, \
    { \
      "name": "install", \
      "kwds": { \
        "pkgs": [ \
          "python3", \
          "python3-pip", \
          "git-annex" \
        ], \
        "opts": null \
      } \
    }, \
    { \
      "name": "run", \
      "kwds": { \
        "command": "apt-get update -qq \\\\\\n    && apt-get install -y -q --no-install-recommends \\\\\\n           git-annex \\\\\\n           python3 \\\\\\n           python3-pip \\\\\\n    && rm -rf /var/lib/apt/lists/*" \
      } \
    }, \
    { \
      "name": "run", \
      "kwds": { \
        "command": "pip install datalad" \
      } \
    }, \
    { \
      "name": "run", \
      "kwds": { \
        "command": "mkdir /cohort_creator" \
      } \
    }, \
    { \
      "name": "copy", \
      "kwds": { \
        "source": [ \
          ".", \
          "/cohort_creator" \
        ], \
        "destination": "/cohort_creator" \
      } \
    } \
  ] \
}' > /.reproenv.json
# End saving to specification to JSON.
