Skip to content

Commit b12395d

Browse files
some improvements and DE locales
1 parent f0584ef commit b12395d

File tree

1 file changed

+29
-11
lines changed

1 file changed

+29
-11
lines changed

Dockerfile

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,48 @@
11
FROM phusion/baseimage
22
MAINTAINER lovebootcaptain <@lovebootcaptain>
33

4+
# setup ENV
45
ENV DEBIAN_FRONTEND noninteractive
56
ENV HOME /root
67
ENV PATH /scripts/:$PATH
78

9+
# set and update repo
810
RUN 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
1231
RUN 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
2842
VOLUME /input /output /scripts
2943

30-
WORKDIR /root
44+
#set direcotries
45+
WORKDIR /root
46+
47+
# set entrypoint
48+
ENTRYPOINT bash

0 commit comments

Comments
 (0)