mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
449710a661
Signed-off-by: David Calavera <david.calavera@gmail.com>
43 lines
1.0 KiB
Docker
43 lines
1.0 KiB
Docker
# Run skype in a container, requires pulseaudio
|
|
# (but I have a container for that)
|
|
#
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
|
# -v $HOME/.Skype:/home/skype/.Skype \
|
|
# -e DISPLAY=unix$DISPLAY \
|
|
# --link pulseaudio:pulseaudio \
|
|
# -e PULSE_SERVER=pulseaudio \
|
|
# --device /dev/video0 \
|
|
# --name skype
|
|
# jess/skype
|
|
#
|
|
FROM debian:jessie
|
|
|
|
# Tell debconf to run in non-interactive mode
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
# Setup multiarch because Skype is 32bit only
|
|
# Make sure the repository information is up to date
|
|
RUN dpkg --add-architecture i386 && \
|
|
apt-get update && apt-get install -y \
|
|
curl \
|
|
--no-install-recommends
|
|
|
|
|
|
# Install Skype
|
|
RUN curl http://download.skype.com/linux/skype-debian_4.3.0.37-1_i386.deb > /usr/src/skype.deb && \
|
|
dpkg --force-depends -i /usr/src/skype.deb && \
|
|
apt-get install -fy \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Make a user
|
|
ENV HOME /home/skype
|
|
RUN useradd --create-home --home-dir $HOME skype \
|
|
&& chown -R skype:skype $HOME \
|
|
&& usermod -a -G audio,video skype
|
|
|
|
WORKDIR $HOME
|
|
USER skype
|
|
|
|
# Start Skype
|
|
ENTRYPOINT ["skype"]
|