File tree Expand file tree Collapse file tree 1 file changed +29
-11
lines changed
Expand file tree Collapse file tree 1 file changed +29
-11
lines changed Original file line number Diff line number Diff line change 11FROM phusion/baseimage
22MAINTAINER lovebootcaptain <@lovebootcaptain>
33
4+ # setup ENV
45ENV DEBIAN_FRONTEND noninteractive
56ENV HOME /root
67ENV PATH /scripts/:$PATH
78
9+ # set and update repo
810RUN sed -i 's#http://archive.ubuntu.com/#http://tw.archive.ubuntu.com/#' /etc/apt/sources.list
11+ RUN apt-get update
912
10- # Installing apps
11- RUN add-apt-repository ppa:stebbins/handbrake-releases
13+ # install built-in packages
14+ RUN 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
1231RUN apt-get update && apt-get -y install \
1332 handbrake-cli \
1433 mkvtoolnix \
1534 gpac
1635
17- # built-in packages
18- RUN apt-get update \
19- && apt-get install -y --no-install-recommends \
20- python3 python3-pip python3-dev python3-setuptools build-essential \
21- && apt-get autoclean \
36+ # clean up
37+ RUN apt-get autoclean \
2238 && apt-get autoremove \
2339 && rm -rf /var/lib/apt/lists/*
2440
25- ENTRYPOINT bash
26-
27- # Expose Volumes
41+ # expose Volumes
2842VOLUME /input /output /scripts
2943
30- WORKDIR /root
44+ # set direcotries
45+ WORKDIR /root
46+
47+ # set entrypoint
48+ ENTRYPOINT bash
You can’t perform that action at this time.
0 commit comments