-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (23 loc) · 738 Bytes
/
Copy pathDockerfile
File metadata and controls
32 lines (23 loc) · 738 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
26
27
28
29
30
31
32
FROM phusion/baseimage:0.9.22
MAINTAINER pinion <pinion@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
# Set correct environment variables
ENV HOME /root
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# Fix a Debianism of the nobody's uid being 65534
RUN usermod -u 99 nobody
RUN usermod -g 100 nobody
RUN apt-get update -qq
# install handbrake-cli
RUN add-apt-repository ppa:stebbins/handbrake-releases
RUN apt-get update
RUN apt-get -y install handbrake-cli
RUN apt-get clean
# Link your files directory that you'd like to transcode
VOLUME /files
# manifest: expose, run
# ENTRYPOINT ["/sbin/my_init"]
# CMD ["/bin/bash"]
# Now enter your container and use handbrake cli as normal
# docker exec -i -t handbrake bash