forked from lancachenet/ubuntu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (25 loc) · 704 Bytes
/
Dockerfile
File metadata and controls
25 lines (25 loc) · 704 Bytes
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
FROM ubuntu:bionic
MAINTAINER LanCache.Net Team <team@lancache.net>
ARG DEBIAN_FRONTEND=noninteractive
RUN \
apt-get -y update && apt-get -y upgrade && \
apt-get -y install python3-pip curl wget bzip2 locales tzdata && \
locale-gen en_GB.utf8 && \
update-locale LANG=en_GB.utf8
RUN \
pip3 install supervisor && \
mkdir --mode 777 -p /var/log/supervisor
RUN \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/*
ENV \
SUPERVISORD_EXIT_ON_FATAL=1 \
LC_ALL=en_GB.UTF-8 \
LANG=en_GB.UTF-8 \
LANGUAGE=en_GB.UTF-8 \
TZ=Europe/London \
SUPERVISORD_LOGLEVEL=WARN
COPY overlay/ /
RUN chmod -R 755 /init /hooks
ENTRYPOINT ["/bin/bash", "-e", "/init/entrypoint"]
CMD ["/init/supervisord"]