File tree Expand file tree Collapse file tree 1 file changed +26
-24
lines changed
Expand file tree Collapse file tree 1 file changed +26
-24
lines changed Original file line number Diff line number Diff line change 11FROM phusion/baseimage
22MAINTAINER lovebootcaptain <@lovebootcaptain>
33
4+ ARG SETLANG
5+
46# setup ENV
57ENV DEBIAN_FRONTEND noninteractive
68ENV HOME /root
7- ENV PATH /scripts/:$PATH
9+ ENV PATH /root/ scripts/:$PATH
810
911# set and update repo
10- RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list
11- RUN apt-get update
12+ RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list \
13+ && apt-get update
14+
15+ # generate additional locale (e.g. for DE use de_DE.UTF-8 as --build-arg)
16+ RUN locale-gen $SETLANG
17+
18+ # install and setup timezone
19+ RUN apt-get install -y --no-install-recommends \
20+ tzdata \
21+ && echo $TZ | tee /etc/timezone \
22+ && dpkg-reconfigure --frontend noninteractive tzdata
1223
13- # install built-in packages
24+ # install python3 packages
1425RUN apt-get install -y --no-install-recommends \
15- python3 \
16- python3-pip \
17- python3-dev \
18- python3-setuptools \
19- build-essential \
20- locales
21-
22- # setup locale for DE
23- RUN locale-gen de_DE.UTF-8
24-
25- ENV LANG de_DE.UTF-8
26- ENV LANGUAGE de_DE:de
27- ENV LC_ALL de_DE.UTF-8
28- ENV TZ Europe/Berlin
29-
30- # installing apps
31- RUN apt-get update && apt-get -y install \
26+ python3 \
27+ python3-pip \
28+ python3-dev \
29+ python3-setuptools \
30+ build-essential
31+
32+ # install video apps
33+ RUN apt-get install -y \
3234 handbrake-cli \
3335 mkvtoolnix \
3436 gpac
@@ -38,11 +40,11 @@ RUN apt-get autoclean \
3840 && apt-get autoremove \
3941 && rm -rf /var/lib/apt/lists/*
4042
41- # expose Volumes
42- RUN mkdir input output scripts
43-
4443# set direcotries
4544WORKDIR /root
4645
46+ # create mount folders
47+ RUN mkdir input output
48+
4749# set entrypoint
4850ENTRYPOINT bash
You can’t perform that action at this time.
0 commit comments