App-Gimei
view release on metacpan or search on metacpan
RUN apt-get update &&\
apt-get install -y --no-install-recommends \
sudo adduser \
libwww-perl \
build-essential \
git curl \
libreadline-dev libssl-dev zlib1g-dev &&\
apt-get -y clean &&\
rm -rf /var/lib/apt/lists/*
RUN adduser --disabled-password --gecos '' user
RUN echo 'user ALL=(root) NOPASSWD:ALL' > /etc/sudoers.d/user
USER user
WORKDIR /home/user
RUN git clone https://github.com/tokuhirom/plenv.git ~/.plenv &&\
git clone https://github.com/tokuhirom/Perl-Build.git ~/.plenv/plugins/perl-build/
RUN echo 'export PATH="$HOME/.plenv/bin:$PATH"' >> ~/.bash_profile &&\
echo 'eval "$(plenv init -)"' >> ~/.bash_profile
RUN /bin/bash -l <<EOF
( run in 0.696 second using v1.01-cache-2.11-cpan-bbe5e583499 )