ADD file:eb2519421c9794ccc99d483c07f59ba305531bc9b4dc294e74d2ddb7de69e52a in / |
CMD ["bash"] |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget && rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzr git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libgeoip-dev libglib2.0-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch xz-utils zlib1g-dev $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/* |
LABEL maintainer=Peter Martini <PeterCMartini@GMail.com>, Zak B. Elep <zakame@cpan.org> |
COPY file:2be96a0b9a6d4b3ea837439f6ea05fc01b773b4b26dd6bd7635bd489469d0075 in /usr/src/perl/ |
WORKDIR /usr/src/perl |
/bin/sh -c curl -SL https://www.cpan.org/src/5.0/perl-5.26.1.tar.bz2 -o perl-5.26.1.tar.bz2 && echo '2812a01dd4d4cd7650cb70abfe259ee572bf6a0f1ee95763422ba7e54c68d12d *perl-5.26.1.tar.bz2' | sha256sum -c - && tar --strip-components=1 -xjf perl-5.26.1.tar.bz2 -C /usr/src/perl && rm perl-5.26.1.tar.bz2 && cat *.patch | patch -p1 && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && archBits="$(dpkg-architecture --query DEB_BUILD_ARCH_BITS)" && archFlag="$([ "$archBits" = '64' ] && echo '-Duse64bitall' || echo '-Duse64bitint')" && ./Configure -Darchname="$gnuArch" "$archFlag" -Duseshrplib -Dvendorprefix=/usr/local -des && make -j$(nproc) && TEST_JOBS=$(nproc) make test_harness && make install && cd /usr/src && curl -LO http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7043.tar.gz && echo '68a06f7da80882a95bc02c92c7ee305846fb6ab648cf83678ea945e44ad65c65 *App-cpanminus-1.7043.tar.gz' | sha256sum -c - && tar -xzf App-cpanminus-1.7043.tar.gz && cd App-cpanminus-1.7043 && perl bin/cpanm . && cd /root && rm -fr ./cpanm /root/.cpanm /usr/src/perl /usr/src/App-cpanminus-1.7043* /tmp/* |
WORKDIR /root |
CMD ["perl5.26.1" "-de0"] |
/bin/bash |
/bin/bash |
COPY file:3dadf30fabe695e77a62a4fd903272ad6054b5113faa8e3a464516a1903b9a8a in /usr/src/myapp |
WORKDIR /usr/src/myapp |
carton install |
ADD dir:5b128aaf464a891f927963ffb84da5f55ec08b479bb1ac45edd853e0450982a5 in /usr/src/myapp |
cpanm -n -l local IO::String Plack::Session Plack::Middleware::MethodOverride Moo HTTP::Negotiate Template |
cpanm -n -l local XML::RSS Data::OpenGraph Twitter::API |
cpanm -n -l local String::Random WWW::PushBullet |
apt-get install -y imagemagick |
CMD ["carton" "exec" "plackup" "-I" "app/lib" "-R" "app/lib" "app.psgi"] |
LABEL org.label-schema.build-date=2018-03-05T19:26:25Z org.label-schema.vcs-ref=d5a109eb31440d79b8fb300f240d07bb32393c0a org.label-schema.vcs-url=https://github.com/pstuifzand/publog.git |