add pure datalad container, freeze apptainer version

This commit is contained in:
bpinsard 2024-04-23 12:55:07 -04:00
parent 7790a8c4e7
commit fe7a254f25
4 changed files with 13 additions and 2 deletions

View File

@ -12,7 +12,7 @@ jobs:
build-and-push-image: build-and-push-image:
strategy: strategy:
matrix: matrix:
image: [datalad-apptainer, deface, dicom_indexer, heudiconv] image: [datalad, datalad-apptainer, deface, dicom_indexer, heudiconv]
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read

View File

@ -54,6 +54,7 @@ build_all_dockers:
parallel: parallel:
matrix: matrix:
- IMAGE_NAME: - IMAGE_NAME:
- datalad
- datalad-docker - datalad-docker
- datalad-apptainer - datalad-apptainer
- heudiconv - heudiconv

View File

@ -15,7 +15,7 @@ RUN apk add --no-cache \
make \ make \
util-linux-dev util-linux-dev
ARG APPTAINER_COMMITISH="main" ARG APPTAINER_COMMITISH="v1.3.0"
ARG MCONFIG_OPTIONS="--with-suid" ARG MCONFIG_OPTIONS="--with-suid"
WORKDIR $GOPATH/src/github.com/apptainer WORKDIR $GOPATH/src/github.com/apptainer
RUN git clone https://github.com/apptainer/apptainer.git \ RUN git clone https://github.com/apptainer/apptainer.git \

10
docker/datalad/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3.11-alpine as builder
RUN apk update && apk add --no-cache curl bzip2 gcc libffi-dev musl-dev
RUN python -m pip install datalad pytest ssh_agent_setup
FROM python:3.11-alpine
COPY --from=builder /usr/local /usr/local
RUN apk update && apk add --no-cache git openssh-client git-annex