update skype

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2017-06-10 20:46:25 -04:00
parent f00de2f089
commit a2010ef2af
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -15,20 +15,19 @@ FROM debian:jessie
# Tell debconf to run in non-interactive mode # Tell debconf to run in non-interactive mode
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# Setup multiarch because Skype is 32bit only RUN apt-get update && apt-get install -y \
# Make sure the repository information is up to date apt-transport-https \
RUN dpkg --add-architecture i386 && \
apt-get update && apt-get install -y \
ca-certificates \ ca-certificates \
curl \ curl \
--no-install-recommends --no-install-recommends
ENV SKYPE_VERSION 4.3.0.37-1 # Add the skype debian repo
RUN curl -sSL https://repo.skype.com/data/SKYPE-GPG-KEY | apt-key add -
RUN echo "deb [arch=amd64] https://repo.skype.com/deb stable main" > /etc/apt/sources.list.d/skype.list
# Install Skype RUN apt-get update && apt-get -y install \
RUN curl -sSL "https://download.skype.com/linux/skype-debian_${SKYPE_VERSION}_i386.deb" > /usr/src/skype.deb && \ skypeforlinux \
dpkg --force-depends -i /usr/src/skype.deb && \ --no-install-recommends \
apt-get install -fy \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Make a user # Make a user
@ -41,4 +40,4 @@ WORKDIR $HOME
USER skype USER skype
# Start Skype # Start Skype
ENTRYPOINT ["skype"] ENTRYPOINT ["skypeforlinux"]