Commit 72969492 authored by Michele Carpene's avatar Michele Carpene
Browse files

Update Dockerfile.irods_plugin_s3

parent dd3055b2
Pipeline #729 failed with stages
in 3 minutes and 44 seconds
#FROM centos:7
FROM eudat-docker-public.artie.ia.surfsara.nl/b2safe_b2container_centos7_4_1_12:latest FROM eudat-docker-public.artie.ia.surfsara.nl/b2safe_b2container_centos7_4_1_12:latest
# Build prerequisites
RUN yum update -y && yum install -y libxml2-devel libcurl4-gnutls-devel libs3
RUN yum update -y irods-devel irods-runtime irods-icommands irods-externals-libs
#RUN git clone -b 4-2-stable https://gitlab.eudat.eu/m.carpen/irods_resource_plugin_s3
################################################################################
#
# install S3 plugin
#
################################################################################
#just working with rpm packages
RUN wget https://packages.irods.org/yum/pool/centos7Workstation/x86_64/irods-externals-libs3a30e55e8-1-1.0-1.x86_64.rpm
RUN rpm -ivh ./irods-externals-libs3a30e55e8-1-1.0-1.x86_64.rpm
RUN wget https://packages.irods.org/yum/pool/centos7/x86_64/irods-resource-plugin-s3-4.2.8.0-1.x86_64.rpm
RUN rpm -ivh ./irods-resource-plugin-s3-4.2.8.0-1.x86_64.rpm
# Prepare minio s3 configuration file
RUN pwd
RUN touch ./AWS.keypair
#RUN cat "MINIO_ACCESS_KEY=minio" >> ./AWS.keypair
#RUN cat "MINIO_SECRET_KEY=minio123" >> ./AWS.keypair
RUN export MINIO_ACCESS_KEY=minio
RUN export MINIO_SECRET_KEY=minio123
################################################################################ ################################################################################
# #
# add hook script # add hook script
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment