Skip to content
Snippets Groups Projects
Select Git revision
  • 34b09ffb8b1cf30d7422b8d329c786086c7b0777
  • master default protected
2 results

Dockerfile

Blame
  • Dockerfile 687 B
    FROM ubuntu:22.04
    LABEL maintainter="František Dvořák <valtri@civ.zcu.cz>"
    
    RUN apt-get update \
     && apt-get install -y --no-install-recommends \
          ca-certificates \
          fuse3 \
          oidc-agent-cli \
          rclone \
     && rm -rf /var/lib/apt/lists/*
    
    # to support unprivileged mounts
    RUN sed -ie 's/#\s*\(user_allow_other\)/\1/' /etc/fuse.conf
    
    RUN rclone config create owncloud-test webdav url https://ocis.aaitest.owncloud.works/remote.php/webdav/ vendor owncloud bearer_token_command 'oidc-token eosc-test' \
     && rclone config create owncloud-stage webdav url https://ocis.aaistage.owncloud.works/remote.php/webdav/ vendor owncloud bearer_token_command 'oidc-token eosc-stage'