-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
52 lines (44 loc) · 1.5 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# this file is generated via docker-builder/generate.pl
#
# do not edit it directly
#
FROM perl:5.40.0
WORKDIR /usr/src/app
EXPOSE 3000 8080
RUN groupadd --gid 1000 perl \
&& useradd --uid 1000 --gid perl --shell /bin/bash --create-home perl
RUN set -ex \
&& apt-get update && apt-get install -y --no-install-recommends \
software-properties-common \
dirmngr \
&& cpanm \
Cpanel::JSON::XS \
CryptX \
DBI \
EV \
Future::AsyncAwait \
IO::Socket::Socks \
Net::SSLeay \
IO::Socket::SSL \
Net::DNS::Native \
Role::Tiny \
SQL::Abstract \
&& rm -r /var/lib/apt/lists/* \
&& rm -r /root/.cpanm
ENV MOJO_VERSION 9.39
RUN cpanm Mojolicious@"$MOJO_VERSION" \
&& rm -r /root/.cpanm
RUN cpanm DBD::SQLite Mojo::SQLite \
&& rm -r /root/.cpanm
ARG NOW=not-set
LABEL org.opencontainers.image.authors="Tekki <tekki@tekki.ch>"
LABEL org.opencontainers.image.created=$NOW
LABEL org.opencontainers.image.description="Mojolicious is a real-time web framework and web development toolkit written in Perl."
LABEL org.opencontainers.image.documentation=https://github.com/Tekki/docker-mojolicious/blob/master/README.md
LABEL org.opencontainers.image.licenses=Artistic-2.0
LABEL org.opencontainers.image.source=https://github.com/Tekki/docker-mojolicious/blob/master/sqlite/Dockerfile
LABEL org.opencontainers.image.title=Mojolicious
LABEL org.opencontainers.image.url=https://github.com/Tekki/docker-mojolicious
LABEL org.opencontainers.image.version=9.39-sqlite
CMD ["/bin/bash", "-c"]