EMDIS-ECS

 view release on metacpan or  search on metacpan

docker/dist/Dockerfile  view on Meta::CPAN

RUN ./generate_pdf.sh ${TAGGED_VERSION}
RUN mv perlecs.pdf perlecs-${TAGGED_VERSION}.pdf

# install EMDIS::ECS from tarball into local-lib directory
RUN cpanm --local-lib ${HOME}/perl5lib EMDIS-ECS-${TAGGED_VERSION}.tar.gz

# return to HOME directory
WORKDIR ${HOME}

# script to generate new certfiles, for use if/when the old certs expire
ADD --chown=perlecs:perlecs generate_ca_and_certfiles.sh ${HOME}/

# add GnuPG and EMDIS::ECS test configurations, and README
# (use tar commands instead of ADD, to set perlecs:perlecs file ownership)
COPY --chown=perlecs:perlecs certfiles.tar.gz ./
RUN mkdir -m 755 ./certfiles
RUN tar xzf ./certfiles.tar.gz -C ./certfiles
COPY --chown=perlecs:perlecs gnupg.tar.gz ./
RUN tar xzf ./gnupg.tar.gz -C ./
COPY --chown=perlecs:perlecs ecs-AA.tar.gz ecs-BB.tar.gz ecs-CC.tar.gz ecs-DD.tar.gz ecs-EE.tar.gz ./
RUN tar xzf ecs-AA.tar.gz
RUN tar xzf ecs-BB.tar.gz
RUN tar xzf ecs-CC.tar.gz
RUN tar xzf ecs-DD.tar.gz
RUN tar xzf ecs-EE.tar.gz
COPY --chown=perlecs:perlecs README README_GPG README_SMOKE_TESTING ./

#USER root

docker/qpid-broker-python/Dockerfile  view on Meta::CPAN

RUN useradd --comment "Apache Qpid Python broker user" --create-home pybroker

# define ${HOME} environment variable
ENV HOME=/home/pybroker

USER pybroker
WORKDIR ${HOME}

# (self-signed) certificates needed for SSL
ENV CERTFILES_SUBDIR="certfiles"
COPY --chown=pybroker:pybroker certfiles.tar.gz ./
RUN mkdir -m 755 ./${CERTFILES_SUBDIR}
RUN tar xzf ./certfiles.tar.gz -C ./${CERTFILES_SUBDIR}

# SASL configuration file
COPY --chown=pybroker:pybroker pybroker.conf ./

# Python AMQP test broker and wrapper shell script
COPY --chown=pybroker:pybroker pybroker.py ./
COPY --chown=pybroker:pybroker run_broker.sh ./

#USER root

ENTRYPOINT [ "/usr/bin/sh", "/home/pybroker/run_broker.sh" ]

docker/ubuntu/Dockerfile  view on Meta::CPAN


# create perlecs user
RUN useradd --comment "Perl ECS user" --shell /bin/bash --create-home perlecs

# define ${HOME} environment variable
ENV HOME=/home/perlecs

USER perlecs
WORKDIR ${HOME}
RUN mkdir ${HOME}/perl5lib
COPY --chown=perlecs:perlecs README_GPG ${HOME}/README_GPG

# install Authen::SASL::Perl via CPAN (need version >= 2.1800 for XOAUTH2 or OAUTHBEARER)
RUN cpanm --local-lib ${HOME}/perl5lib Authen::SASL::Perl

# install EMDIS::ECS into local-lib directory
RUN cpanm --local-lib ${HOME}/perl5lib EMDIS::ECS

# set PATH and PERL5LIB environment variables to use
# local-lib directory
ENV PATH=${HOME}/perl5lib/bin:${PATH} \



( run in 0.573 second using v1.01-cache-2.11-cpan-71847e10f99 )