Skip to content
Snippets Groups Projects
Commit 45410607 authored by Markus Witt's avatar Markus Witt
Browse files

dockerfile: remove cpanm (+workdir) & build-essentials to save space

parent 386d56a2
No related branches found
No related tags found
No related merge requests found
FROM debian:stretch
RUN apt-get update && apt-get install -y \
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y \
cpanminus \
build-essential \
libpq-dev \
git \
ssmtp
RUN cpanm -in \
ssmtp \
&& cpanm -in \
Cache::File \
Crypt::Eksblowfish \
DateTime \
......@@ -21,10 +22,14 @@ RUN cpanm -in \
Mojolicious::Plugin::Authentication \
Travel::Status::DE::IRIS \
UUID::Tiny \
JSON
JSON \
&& rm -rf ~/.cpanm \
&& apt-get purge -y \
build-essential \
cpanminus \
&& apt-get autoremove -y
COPY . /app
WORKDIR /app
CMD /app/docker-run.sh
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment